Maksim Kita
4ed28d8e52
Merge pull request #29981 from kitaisreal/added-function-tokens
...
Added function tokens
2021-10-14 15:36:06 +03:00
Anton Popov
4d020c96e0
support nullable arguments in function initializeAggregation
2021-10-14 15:09:06 +03:00
Anton Popov
6c1da023f7
Merge pull request #30142 from kitaisreal/polygon-dictionary-support-read
...
Polygon dictionary support read
2021-10-14 15:03:10 +03:00
Anton Popov
c2d376d0d6
Merge branch 'master' into better-interfaces
2021-10-14 14:33:36 +03:00
Anton Popov
5802037f1e
Merge pull request #29916 from ucasfl/format-alter
...
Format improvement of AlterQuery
2021-10-14 14:30:08 +03:00
Nikolai Kochetov
ab28c6c855
Remove BlockInputStream interfaces.
2021-10-14 13:25:43 +03:00
Maksim Kita
8ed4e73705
Merge pull request #30000 from ClickHouse/profile-snapshot
...
Make read of Counters snapshot non-atomic
2021-10-14 13:22:44 +03:00
alesapin
90ff7f05fd
Start keeper asynchronously if has connection to other nodes
2021-10-14 13:21:41 +03:00
Maksim Kita
562c8984a4
Added documentation
2021-10-14 13:15:45 +03:00
Maksim Kita
6c6dd7a0c8
Merge pull request #30056 from orloffv/orloffv.JSONExtractKeys
...
Add JSONExtractKeys function
2021-10-14 12:50:19 +03:00
Nikolai Kochetov
3d3e143c29
Merge pull request #30001 from ClickHouse/remove-streams-from-formats
...
Remove streams from formats.
2021-10-14 12:39:07 +03:00
Maksim Kita
f589084a94
Merge pull request #29899 from Enmk/Governance/dictionary_comment
...
Governance/dictionary comment
2021-10-14 12:35:10 +03:00
Maksim Kita
8d544a55b7
Merge pull request #30075 from kitaisreal/sql-user-defined-functions-fix-alias
...
SQL user defined functions fix alias
2021-10-14 11:15:32 +03:00
Anton Popov
92413aed68
better interfaces for IDataType and ISerialization
2021-10-14 05:36:49 +03:00
Maksim Kita
659a46a972
WriteBufferToRabbitMQProduced fixed queue usage
2021-10-14 00:33:18 +03:00
Maksim Kita
35f2d914dc
Fixed build
2021-10-14 00:33:18 +03:00
Maksim Kita
3d2e1a24d9
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
201523f4e6
Fixed build
2021-10-14 00:33:18 +03:00
Maksim Kita
c6eece5a03
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
46ba649821
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
04047f76c7
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
d55561422f
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
aae409b321
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
afdc2fe50d
Fixed tests
2021-10-14 00:33:18 +03:00
Maksim Kita
c9b6c2661b
Refactor ConcurrentBoundedQueue
2021-10-14 00:33:18 +03:00
Azat Khuzhin
eba6410fd5
Fix data-race between LogSink::writeMarks() and LogSource::readData() in StorageLog
...
CI founds [1], TSan report:
WARNING: ThreadSanitizer: data race (pid=497)
Write of size 8 at 0x7b1c00e4e8d8 by thread T922:
4 DB::LogSink::writeMarks() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:462:72 (clickhouse+0x1665cdaa)
5 DB::LogSink::consume() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:324:5 (clickhouse+0x1665c216)
Previous read of size 8 at 0x7b1c00e4e8d8 by thread T711:
1 DB::LogSource::readData()::$_0::operator()(bool) const::'lambda'()::operator()() const obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:188:26 (clickhouse+0x16661baf)
9 DB::LogSource::readData() obj-x86_64-linux-gnu/../src/Storages/StorageLog.cpp:204:20 (clickhouse+0x1665bbcb)
[1]: https://clickhouse-test-reports.s3.yandex.net/29930/4bc90d1dd7dbd4b8a9b6920d00ca24e8b160358e/stress_test_(thread).html#fail1
Fixes : #29470
v2: rework locking, but this produce deadlock for 01499_log_deadlock test
v3: introduce per-file marks mutex
2021-10-14 00:17:45 +03:00
Azat Khuzhin
e4db862d85
Fix possible data-race between FileChecker and StorageLog/StorageStripeLog
2021-10-14 00:16:58 +03:00
Maksim Kita
58728fe78f
Fixed tests
2021-10-14 00:08:43 +03:00
Maksim Kita
66f2163b60
Added function tokens
2021-10-14 00:08:15 +03:00
mergify[bot]
c3a0abc430
Merge branch 'master' into profile-snapshot
2021-10-13 18:44:57 +00:00
Nikolai Kochetov
2957971ee3
Remove some last streams.
2021-10-13 21:22:02 +03:00
Nikolai Kochetov
b24b458df7
Update HTTPDictionarySource.cpp
2021-10-13 20:13:30 +03:00
Amos Bird
8851cb8459
Use upstream replxx
2021-10-14 00:52:53 +08:00
Maksim Kita
d1a184c500
Fixed style check
2021-10-13 19:37:16 +03:00
Maksim Kita
5802213722
PolygonDictionary support read method
2021-10-13 19:31:59 +03:00
alesapin
1801ea4955
Merge branch 'master' into remove_trash
2021-10-13 18:10:31 +03:00
alesapin
f1ccb88f3f
Merge pull request #29999 from ClickHouse/use_dns_cache_for_s3_in_most_cases
...
Cache DNS in Poco handler for S3 if no proxy specified
2021-10-13 18:09:52 +03:00
Dmitry Novik
006a9a7c7d
Print more info about memory utilization
2021-10-13 16:26:54 +03:00
Nikita Mikhaylov
57a623aba0
Merge branch 'master' into codegen_select_fuzzer_v1
2021-10-13 16:01:40 +03:00
alesapin
d2dfbb5ab6
Remove trash from MergeTreeReadPool
2021-10-13 15:25:44 +03:00
Nikolai Kochetov
49ac602ee6
Fix GRPC
2021-10-13 15:06:56 +03:00
Pavel Cheremushkin
562138c9fa
codegen_fuzzer: removing errors on warnings from protobuf-generated code in more gentle way
2021-10-13 15:01:21 +03:00
Nikita Mikhaylov
6c2b43eece
Merge pull request #30092 from nicelulu/modify_comments
...
Modify ConnectionPoolWithFailover get_priority ROUND_ROBIN comments
2021-10-13 14:24:39 +03:00
Nikolai Kochetov
bb9fa38369
Fix header in library bridge
2021-10-13 14:24:12 +03:00
Anton Popov
108aafcd6d
Merge pull request #30074 from azat/move-partition-race-fix
...
Fix race between MOVE PARTITION and merges/mutations for MergeTree
2021-10-13 14:15:23 +03:00
zhangxiao871
923c76fc99
Modify comments
2021-10-13 18:38:24 +08:00
tavplubix
7742b96497
Remove metadata leftovers on drop database ( #30054 )
...
* remove metadata leftovers on drop database
* Update InterpreterDropQuery.cpp
* Update DatabaseCatalog.cpp
2021-10-13 13:34:18 +03:00
tavplubix
a69b0d9818
Follow-up to #29901 ( #30003 )
...
* more informative logs
* Update ZooKeeper.cpp
* fix
2021-10-13 13:21:07 +03:00
Nikolai Kochetov
a5fa5c7ea3
Move formats to Impl
2021-10-13 13:01:08 +03:00
Vitaly Baranov
a140f4127e
Fix ExternalLoader without additional mutex.
2021-10-13 10:02:42 +03:00
Vitaly Orlov
1623bfa1a2
review fixes
2021-10-13 09:55:35 +03:00
Amos Bird
23602f4607
Speed up part loading for JBOD
2021-10-13 12:33:54 +08:00
Alexey Milovidov
0ad20e6613
Fix test
2021-10-13 03:14:44 +03:00
Alexey Milovidov
9939e7c1eb
Merge branch 'master' into clickhouse-obfuscator-2
2021-10-13 01:16:26 +03:00
Maksim Kita
cd08a078d1
SQL user defined functions fix alias
2021-10-13 00:16:01 +03:00
Azat Khuzhin
e9ce859b02
Fix race between MOVE PARTITION and merges/mutations for MergeTree
...
From time to time 00975_move_partition_merge_tree test got failed, the
reason is that there is merge in progress that writes data to the source
table again:
<details>
2021.10.12 13:20:40.243839 [ 26955 ] {2dbfea50-639e-49ac-9e82-933a00ea04a3} <Debug> executeQuery: (from [::1]:38060) (comment: 00975_move_partition_merge_tree.sql) ALTER TABLE test_move_partition_src MOVE PARTITION 1 TO TABLE test_move_partition_dest;
2021.10.12 13:20:40.244482 [ 26955 ] {2dbfea50-639e-49ac-9e82-933a00ea04a3} <Debug> test_t1tzb2.test_move_partition_dest (cab3b005-d54b-4cdc-8ab3-b005d54becdc): Cloning part /var/lib/clickhouse/store/467/467d7145-b47e-444e-867d-7145b47ea44e/1_2_2_0/ to /var/lib/clickhouse/store/cab/cab3b005-d54b-4cdc-8ab3-b005d54becdc/tmp_move_from_1_21_21_0
...
2021.10.12 13:20:40.373487 [ 378 ] {} <Trace> test_t1tzb2.test_move_partition_src (467d7145-b47e-444e-867d-7145b47ea44e) (MergerMutator): Merged 6 parts: from 1_2_2_0 to 1_11_11_0
...
2021.10.12 13:20:40.379750 [ 26955 ] {2dbfea50-639e-49ac-9e82-933a00ea04a3} <Debug> test_t1tzb2.test_move_partition_dest (cab3b005-d54b-4cdc-8ab3-b005d54becdc): Cloning part /var/lib/clickhouse/store/467/467d7145-b47e-444e-867d-7145b47ea44e/1_15_15_0/ to /var/lib/clickhouse/store/cab/cab3b005-d54b-4cdc-8ab3-b005d54becdc/tmp_move_from_1_28_28_0
</details>
And also remove cleaning of mutations since this will cause deadlock
after doing MOVE PARTITION under
currently_processing_in_background_mutex.
CI: https://clickhouse-test-reports.s3.yandex.net/0/a59c6b1c8eb47ebf77189a491ee0c3980b38e91c/functional_stateless_tests_
Fixes: 00975_move_partition_merge_tree
2021-10-13 00:14:24 +03:00
Vitaly Orlov
4d2b34a7f0
Review fixes
2021-10-13 00:08:00 +03:00
Dmitry Novik
f1bbc7f9b6
Fix hardware utilization info printing in client
2021-10-12 23:17:15 +03:00
Nikolay Degterinsky
b6ace277de
Merge pull request #30017 from ucasfl/dot
...
Remove redundant dot in exception message
2021-10-12 20:44:42 +03:00
Maksim Kita
a59c6b1c8e
Merge pull request #29928 from azat/dict-fix-lock-order-inversion
...
Fix lock-order-inversion between periodic dictionary reload and config reload
2021-10-12 19:46:28 +03:00
Kseniia Sumarokova
bb15b57753
Merge pull request #30016 from ucasfl/sample-by-tuple
...
Fix crash of sample by tuple()
2021-10-12 19:46:21 +03:00
Nikolai Kochetov
f2d8cc547f
Fix Kafka source.
2021-10-12 18:09:28 +03:00
Vitaly Orlov
65c6605c2c
Add JSONExtractKeys function
2021-10-12 18:00:25 +03:00
Nikita Mikhaylov
7c67d764c0
Merge pull request #29934 from ClickHouse/remove-bayes-ab
...
Remove function bayesAB
2021-10-12 18:00:25 +03:00
alexey-milovidov
9a1f930b2f
Merge pull request #30010 from ClickHouse/ppc64le
...
Add cross-build for PowerPC 64le
2021-10-12 16:17:41 +03:00
Nikolai Kochetov
c36bb9206e
Merge pull request #29879 from amosbird/queryidholderfix
...
Fix potential leak of query_id_holder
2021-10-12 15:42:02 +03:00
Nikolai Kochetov
077aba4a97
Merge pull request #29520 from amosbird/projection-improve4
...
Get rid of naming limitation of projections.
2021-10-12 14:25:29 +03:00
Dmitry Novik
8be70bc417
Update profile event forwarding
2021-10-12 14:15:07 +03:00
Dmitry Novik
abb74d2a5b
Make Counters::Snapshot immutable
2021-10-12 13:46:32 +03:00
Dmitry Novik
857dd52867
Remove redundant enumerator
2021-10-12 13:46:32 +03:00
Dmitry Novik
a33610aa32
Make read of Counters snapshot non-atomic
2021-10-12 13:46:32 +03:00
Vitaly Baranov
4a4d913cfd
Merge pull request #29954 from vitlibar/fix-flaky-test_grpc_protocol
...
gRPC: Fix releasing query ID and session ID at the end of query processing
2021-10-12 13:32:27 +03:00
Nikita Mikhaylov
5bf64c62c2
Delete test
2021-10-12 10:19:21 +00:00
Nikita Mikhaylov
10487f75b2
Merge pull request #28364 from ClickHouse/profile-events-wip
...
Forward profile events to client
2021-10-12 13:16:01 +03:00
Nikolai Kochetov
93b3fcc195
Fix rabbitmq
2021-10-12 13:05:20 +03:00
Kseniia Sumarokova
b2f8cd07e6
Update normalizeString.cpp
2021-10-12 12:54:02 +03:00
Vasily Nemkov
91afa20a73
Unit tests for dictionary with comment
2021-10-12 12:48:12 +03:00
Vladimir C
969999ff10
Merge pull request #29544 from Algunenano/join_deadlock
2021-10-12 12:34:04 +03:00
Maksim Kita
ec898f1a94
Merge pull request #28633 from darkkeks/normalize-utf8-nfc
...
Add normalizeUTF8 function with NFC normalization
2021-10-12 12:25:07 +03:00
Vladimir C
11e37e7640
Merge pull request #28746 from amosbird/allowalias
2021-10-12 12:17:58 +03:00
Maksim Kita
91a48e9651
Merge pull request #29896 from kitaisreal/system-data-skipping-indices-added-size
...
System table data skipping indices added size
2021-10-12 12:16:57 +03:00
Maksim Kita
c15b67c182
Fix naming
2021-10-12 11:42:24 +03:00
alesapin
5ac0d36392
Merge pull request #30005 from ClickHouse/more_strict_check_for_intersecting_parts
...
More strict check for intersecting parts
2021-10-12 11:38:09 +03:00
alesapin
5a0f22fbce
Fix resolve host
2021-10-12 11:27:18 +03:00
alesapin
1a778d5c37
Merge pull request #30008 from ClickHouse/tavplubix-patch-3
...
Try remove excessive logging
2021-10-12 10:51:47 +03:00
Nikolai Kochetov
88b1807434
Fix special build.
2021-10-12 10:33:45 +03:00
feng lv
ee1fd495ea
remove redundant dot in exception message
2021-10-12 05:30:35 +00:00
feng lv
b5d69d599e
fix sample by tuple()
...
add tests
fix
fix
fix
2021-10-12 05:19:32 +00:00
Kseniia Sumarokova
198adc7ecd
Merge pull request #29837 from havardk/gtidupdate
...
MaterializedMySQL: Update GTID set at end of transaction
2021-10-12 08:01:18 +03:00
Pavel Cheremushkin
9ed3361298
removing code generated files, since protobuf generation is now done in CMake
2021-10-12 03:53:43 +03:00
Pavel Cheremushkin
7b9358a597
adding codegen fuzzer + code generation script. new contrib added: libprotobuf-mutator
2021-10-12 03:21:31 +03:00
alexey-milovidov
84e16f9c8e
Merge pull request #29979 from azat/memory-profiler-sanitizers
...
Allow memory profiler under sanitizers (ASan/UBsan/MSan only)
2021-10-12 03:12:19 +03:00
Alexey Milovidov
d4e496c314
Add support for PowerPC build
2021-10-12 01:47:57 +03:00
tavplubix
83a9a8d4dc
Update KeeperStateMachine.cpp
2021-10-11 23:23:56 +03:00
Nikolai Kochetov
1e1d5d7fea
Fix style.
2021-10-11 22:21:04 +03:00
alexey-milovidov
f1b550cdaf
Merge pull request #29974 from ClickHouse/minimized-toolchain
...
Experiment with minimized toolchain (2)
2021-10-11 22:04:01 +03:00
Alexander Tokmakov
706e2b6b88
more strict check for intersecting parts
2021-10-11 21:42:46 +03:00
Nikolai Kochetov
2c92caac17
Fix clickhouse local.
2021-10-11 21:20:35 +03:00
Nikolai Kochetov
ec18340351
Remove streams from formats.
2021-10-11 19:11:50 +03:00
alesapin
d301e40651
Cache DNS in Poco handler for S3 if no proxy specified
2021-10-11 18:31:09 +03:00
Dmitry Novik
bfdd34c13d
code cleanup
2021-10-11 17:39:24 +03:00
Dmitry Novik
7c3192735a
Reset profile events stream in Connection::sendQuery
2021-10-11 17:39:24 +03:00
Dmitry Novik
9590c97a19
Create ProfileEventsQueue in GRPCServer
2021-10-11 17:39:24 +03:00
Dmitry Novik
3a0764634e
Update InternalProfileEventsQueue usage
2021-10-11 17:39:24 +03:00
Dmitry Novik
c1f3e7e0bb
Fix build
2021-10-11 17:39:24 +03:00
Dmitry Novik
0bdabf46f2
Send ProfileEvents only to supported clients
2021-10-11 17:39:24 +03:00
Dmitry Novik
9f9af28b5e
Output memory usage with progress
2021-10-11 17:39:24 +03:00
Dmitry Novik
73df6190df
Cleanup code
2021-10-11 17:39:24 +03:00
Dmitry Novik
1d2e2d7305
cleanup
2021-10-11 17:39:24 +03:00
Dmitry Novik
7e3caf96be
Fix cores approximation
2021-10-11 17:39:24 +03:00
Dmitry Novik
4c6b3c40f2
Calculate approximate cores number used
2021-10-11 17:39:24 +03:00
Dmitry Novik
15ac65aa33
Add thread usage info on client side
2021-10-11 17:39:24 +03:00
Dmitry Novik
9071a7151e
Fix communication & race conditions
2021-10-11 17:39:23 +03:00
Dmitry Novik
356723427d
WIP on ProfileEvents forwarding
2021-10-11 17:39:23 +03:00
Dmitry Novik
74cdaba7fa
WIP on profile events forwarding
2021-10-11 17:29:50 +03:00
Dmitry Novik
803b8623c1
Fix TCPHandler::sendProfileEvents
2021-10-11 17:29:50 +03:00
Dmitry Novik
4c5a774570
Add comment
2021-10-11 17:29:50 +03:00
Dmitry Novik
e9b1e05461
Send profile events from all threads of current group
2021-10-11 17:29:50 +03:00
Dmitry Novik
362bcb2f66
Introduce ProfileEvents packet
2021-10-11 17:29:50 +03:00
Haavard Kvaalen
ab4b229574
Make sure we update position on commit
...
Make sure we update GTID set on QueryEvents with "COMMIT"
or "XA COMMIT". Without this we could have to redo the last transaction
if e.g. ClickHouse was restarted. Note that this did not affect normal
transactions on InnoDB, since they are terminated with a XID_EVENT.
2021-10-11 16:20:51 +02:00
Dmitry Novik
a651c1bb67
Merge pull request #29820 from azat/MINSIGSTKSZ-fix
...
Fix compilation with glibc 2.34 (MINSIGSTKSZ defined as sysconf(_SC_SIGSTKSZ))
2021-10-11 17:06:29 +03:00
Amos Bird
635783fb66
Only do TreeOptimizer for initial queries
2021-10-11 20:47:35 +08:00
Amos Bird
f4269ce417
Allow optimize_arithmetic_operations_in_aggregate_functions when alias is used.
2021-10-11 20:47:34 +08:00
alexey-milovidov
3b8d7a5030
Merge pull request #29952 from MikaelUrankar/freebsd-aarch64
...
Add support for FreeBSD aarch64
2021-10-11 14:43:23 +03:00
Alexey Milovidov
2370a8d6da
Fix PVS-Studio
2021-10-11 14:28:46 +03:00
Amos Bird
72bccaa501
Fix path name
2021-10-11 19:12:08 +08:00
Maksim Kita
b0d887a0fe
Added tests
2021-10-11 14:00:10 +03:00
Amos Bird
83717b7c3b
Get rid of naming limitation of projections.
2021-10-11 18:32:17 +08:00
tavplubix
a9a7fd94cd
Merge pull request #29929 from azat/db-fix-lock-order-inversion
...
Fix lock-order-inversion between DROP TABLE for DatabaseMemory and LiveView
2021-10-11 13:23:58 +03:00
Kseniia Sumarokova
20e8074b5e
Merge pull request #29912 from taiyang-li/remove_unused_var
...
Remove unused variable in s3cluster
2021-10-11 12:45:04 +03:00
Maksim Kita
ce0c41e1ad
Fixed tests
2021-10-11 11:39:50 +03:00
Maksim Kita
2d069acc22
System table data skipping indices added size
2021-10-11 11:39:50 +03:00
Vasily Nemkov
2c55807b2a
Create dictionary with comment
2021-10-11 11:26:59 +03:00
Amos Bird
ebfb013ea1
Fix potential leak of query_id_holder
2021-10-11 15:56:00 +08:00
Azat Khuzhin
063f9cffab
Allow memory profiler under sanitizers
...
Only query profiler cannot work reliably with sanitizers (due to
unwinding from signal handler), but memory profiler should be fine.
Plus sometimes the problem appears only on build with sanitizers, so it
will be useful to have memory related profiling in trace_log.
Also there is a flaky check for stateless tests, that uses build with
ASan, and now trace_log there is empty, which sometimes does not allow
to debug further.
2021-10-11 10:21:26 +03:00
Vladimir C
dc4bb920d3
Merge branch 'master' into join_deadlock
2021-10-11 10:18:17 +03:00
Vladimir C
d2b8d293b4
Merge pull request #29976 from hexiaoting/dev_quantile_fuse2
2021-10-11 10:06:40 +03:00
Vladimir C
6c7fbf0b88
Merge pull request #29956 from azat/fix-tuple-filter
2021-10-11 10:02:47 +03:00
Alexey Milovidov
284e547bc3
Fix error
2021-10-11 09:01:23 +03:00
hexiaoting
aabe52e3e9
Fix bug for quantile fusion
2021-10-11 10:39:55 +08:00
alexey-milovidov
0adbcd58c9
Merge pull request #29930 from azat/buffer-fix-data-race
...
Fix data-race between flush() and startup() in StorageBuffer
2021-10-11 01:11:39 +03:00
mergify[bot]
c07a49ba89
Merge branch 'master' into remove-bayes-ab
2021-10-10 21:10:57 +00:00
Azat Khuzhin
f37dac03f4
Fix lock-order-inversion between DROP TABLE for DatabaseMemory and LiveView
...
CI stress founds [1], TSan report:
WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock) (pid=509)
Cycle in lock order graph: M71436201 (0x7b5800a91308) => M237700395169415472 (0x000000000000) => M71436201
Mutex M237700395169415472 acquired here while holding mutex M71436201 in thread T723:
3 std::__1::lock_guard<std::__1::mutex>::lock_guard(std::__1::mutex&) obj-x86_64-linux-gnu/../contrib/libcxx/include/__mutex_base:91:27 (clickhouse+0x154b0db9)
4 DB::DatabaseWithOwnTablesBase::tryGetTable() const obj-x86_64-linux-gnu/../src/Databases/DatabasesCommon.cpp:37:21 (clickhouse+0x154b0db9)
5 DB::DatabaseMemory::tryGetTableUUID() const obj-x86_64-linux-gnu/../src/Databases/DatabaseMemory.cpp:95:22 (clickhouse+0x15466bb5)
6 DB::Context::resolveStorageID() const obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:2672:90 (clickhouse+0x155e6aa1)
7 DB::JoinedTables::getLeftTableStorage() obj-x86_64-linux-gnu/../src/Interpreters/JoinedTables.cpp:200:29 (clickhouse+0x15eee962)
8 DB::InterpreterSelectQuery::InterpreterSelectQuery() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:321:33 (clickhouse+0x15b792be)
9 DB::InterpreterSelectQuery::InterpreterSelectQuery() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:160:7 (clickhouse+0x15b78160)
10 DB::StorageLiveView::collectMergeableBlocks() obj-x86_64-linux-gnu/../src/Storages/LiveView/StorageLiveView.cpp:113:28 (clickhouse+0x16aae192)
11 DB::StorageLiveView::getNewBlocks() obj-x86_64-linux-gnu/../src/Storages/LiveView/StorageLiveView.cpp:384:33 (clickhouse+0x16ab393a)
12 DB::StorageLiveView::refresh(bool) obj-x86_64-linux-gnu/../src/Storages/LiveView/StorageLiveView.cpp:528:13 (clickhouse+0x16ab6395)
13 DB::StorageLiveView::read() obj-x86_64-linux-gnu/../src/Storages/LiveView/StorageLiveView.cpp:545:9 (clickhouse+0x16ab6395)
21 DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:950:30 (clickhouse+0x16101441)
Hint: use TSAN_OPTIONS=second_deadlock_stack=1 to get more informative warning message
Mutex M71436201 acquired here while holding mutex M237700395169415472 in thread T723:
3 std::__1::lock_guard<std::__1::mutex>::lock_guard(std::__1::mutex&) obj-x86_64-linux-gnu/../contrib/libcxx/include/__mutex_base:91:27 (clickhouse+0x16ab5c29)
4 DB::StorageLiveView::drop() obj-x86_64-linux-gnu/../src/Storages/LiveView/StorageLiveView.cpp:477:21 (clickhouse+0x16ab5c29)
5 DB::DatabaseMemory::dropTable() obj-x86_64-linux-gnu/../src/Databases/DatabaseMemory.cpp:44:16 (clickhouse+0x15465cd6)
8 DB::InterpreterDropQuery::execute() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterDropQuery.cpp:62:16 (clickhouse+0x15afa679)
[1]: https://clickhouse-test-reports.s3.yandex.net/29856/42ca2b4bb241827edf69bbd6938d6b19c31935f1/stress_test_(thread).html#fail1
v2: fix attachTableUnlocked() (as pointed by @tavplubix)
v3: use SCOPE_EXIT() and so avoid holding a lock during removing from fs
2021-10-10 23:51:36 +03:00
Azat Khuzhin
6c33eaee32
Fix filtering by tuple (some conditions was lost during analyzing)
...
Fixes : #29281
Fixes: test_cluster_copier/test_three_nodes.py::test
2021-10-10 22:37:52 +03:00
Nikolai Kochetov
a95c28ec4b
Merge pull request #29898 from ClickHouse/remove-native-stream
...
Remove some more streams.
2021-10-10 21:01:16 +03:00
Vitaly Baranov
1dda596689
Fix releasing query ID and session ID at the end of query processing.
2021-10-10 17:34:45 +03:00
mikael
689c9cdbb9
Add uc_mcontext for FreeBSD aarch64
2021-10-10 14:52:17 +02:00
feng lv
1229a8b528
fix
2021-10-10 04:12:24 +00:00
Alexey Milovidov
103b3c91ba
Remove 'printf' function usage.
2021-10-10 04:21:07 +03:00
Alexey Milovidov
2a20bf4909
Remove function bayesAB #26233
2021-10-10 04:16:32 +03:00
Azat Khuzhin
2bab572caf
Fix lock-order-inversion between periodic dictionary reload and config reload
...
Integration tests found [1], TSan report:
WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock) (pid=11)
Cycle in lock order graph: M3152 (0x7b9000000058) => M3153 (0x7b9000000438) => M3152
Mutex M3153 acquired here while holding mutex M3152 in main thread:
3 std::__1::lock_guard<std::__1::recursive_mutex>::lock_guard(std::__1::recursive_mutex&) obj-x86_64-linux-gnu/../contrib/libcxx/include/__mutex_base:91:27 (clickhouse+0x15716b81)
4 DB::ExternalLoader::addConfigRepository() const obj-x86_64-linux-gnu/../src/Interpreters/ExternalLoader.cpp:1283:21 (clickhouse+0x15716b81)
5 DB::Context::loadOrReloadDictionaries() obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:1453:62 (clickhouse+0x155d7bad)
6 DB::Server::main()::$_1::operator()() const obj-x86_64-linux-gnu/../programs/server/Server.cpp:852:29 (clickhouse+0x9b1944c)
13 DB::ConfigReloader::reloadIfNewer() obj-x86_64-linux-gnu/../src/Common/Config/ConfigReloader.cpp:137:13 (clickhouse+0x17045e2e)
14 DB::ConfigReloader::ConfigReloader() obj-x86_64-linux-gnu/../src/Common/Config/ConfigReloader.cpp:33:9 (clickhouse+0x17044e51)
16 DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../programs/server/Server.cpp:803:33 (clickhouse+0x9b0c41d)
17 Poco::Util::Application::run() obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8 (clickhouse+0x19ffc08b)
18 DB::Server::run() obj-x86_64-linux-gnu/../programs/server/Server.cpp:405:25 (clickhouse+0x9b03ebe)
19 Poco::Util::ServerApplication::run(int, char**) obj-x86_64-linux-gnu/../contrib/poco/Util/src/ServerApplication.cpp:611:9 (clickhouse+0x1a01c246)
20 mainEntryClickHouseServer(int, char**) obj-x86_64-linux-gnu/../programs/server/Server.cpp:183:20 (clickhouse+0x9b02576)
21 main obj-x86_64-linux-gnu/../programs/main.cpp:372:12 (clickhouse+0x9b00a3a)
Mutex M3152 acquired here while holding mutex M3153 in thread T2:
3 std::__1::lock_guard<std::__1::mutex>::lock_guard() obj-x86_64-linux-gnu/../contrib/libcxx/include/__mutex_base:91:27 (clickhouse+0x155d63b8)
4 DB::Context::getExternalDictionariesLoader() obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:1337:21 (clickhouse+0x155d63b8)
5 DB::Context::getExternalDictionariesLoader() const obj-x86_64-linux-gnu/../src/Interpreters/Context.cpp:1332:41 (clickhouse+0x155d6359)
6 DB::DatabaseDictionary::tryGetTable() const obj-x86_64-inux-gnu/../src/Databases/DatabaseDictionary.cpp:76:38 (clickhouse+0x157819ad)
7 DB::DatabaseCatalog::getTableImpl() const obj-x86_64-linux-gnu/../src/Interpreters/DatabaseCatalog.cpp:285:28 (clickhouse+0x1564a1fa)
8 DB::DatabaseCatalog::getTable() const obj-x86_64-linux-gnu/../src/Interpreters/DatabaseCatalog.cpp:656:16 (clickhouse+0x1564fa2a)
9 DB::JoinedTables::getLeftTableStorage() obj-x86_64-linux-gnu/../src/Interpreters/JoinedTables.cpp:219:40 (clickhouse+0x15eeef45)
10 DB::InterpreterSelectQuery::InterpreterSelectQuery() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:321:33 (clickhouse+0x15b792be)
19 DB::ClickHouseDictionarySource::doInvalidateQuery() const obj-x86_64-linux-gnu/../src/Dictionaries/ClickHouseDictionarySource.cpp:207:36 (clickhouse+0x12872d2d)
20 DB::ClickHouseDictionarySource::isModified() const obj-x86_64-linux-gnu/../src/Dictionaries/ClickHouseDictionarySource.cpp:144:25 (clickhouse+0x12872534)
21 DB::IDictionary::isModified() const <null> (clickhouse+0x128ce39b)
22 DB::ExternalLoader::LoadingDispatcher::reloadOutdated() obj-x86_64-linux-gnu/../src/Interpreters/ExternalLoader.cpp:660:50 (clickhouse+0x157305f7)
23 DB::ExternalLoader::PeriodicUpdater::doPeriodicUpdates() obj-x86_64-linux-gnu/../src/Interpreters/ExternalLoader.cpp:1248:36 (clickhouse+0x1572fff7)
[1]: https://clickhouse-test-reports.s3.yandex.net/29856/42ca2b4bb241827edf69bbd6938d6b19c31935f1/integration_tests_(thread).html#fail1
2021-10-10 04:04:05 +03:00
Azat Khuzhin
4bc90d1dd7
Fix data-race between flush() and startup() in StorageBuffer
...
Stress tests found [1], TSan report:
==================
WARNING: ThreadSanitizer: data race (pid=485)
Read of size 8 at 0x7b5001280bd8 by thread T567 (mutexes: write M612061890855345680):
1 std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo>::operator bool() const obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2851:62 (clickhouse+0x159140a6)
2 bool std::__1::operator!=<DB::BackgroundSchedulePoolTaskInfo>() obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3447:30 (clickhouse+0x159140a6)
3 DB::BackgroundSchedulePoolTaskHolder::operator bool() const obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.h:164:46 (clickhouse+0x159140a6)
4 DB::StorageBuffer::flush() obj-x86_64-linux-gnu/../src/Storages/StorageBuffer.cpp:675:10 (clickhouse+0x159140a6)
Previous write of size 8 at 0x7b5001280bd8 by thread T586 (mutexes: write M191819750614415520):
2 std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo>::operator=(std::__1::shared_ptr<DB::BackgroundSchedulePoolTaskInfo>&&) obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:3243:34 (clickhouse+0x15913e22)
3 DB::BackgroundSchedulePoolTaskHolder::operator=() obj-x86_64-linux-gnu/../src/Core/BackgroundSchedulePool.h:156:110 (clickhouse+0x15913e22)
4 DB::StorageBuffer::startup() obj-x86_64-linux-gnu/../src/Storages/StorageBuffer.cpp:668:18 (clickhouse+0x15913e22)
5 DB::InterpreterCreateQuery::doCreateTable() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterCreateQuery.cpp:1092:10 (clickhouse+0x149bef7b)
6 DB::InterpreterCreateQuery::createTable() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterCreateQuery.cpp:952:20 (clickhouse+0x149ba9f5)
7 DB::InterpreterCreateQuery::execute() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterCreateQuery.cpp:1302:16 (clickhouse+0x149c1086)
[1]: https://clickhouse-test-reports.s3.yandex.net/0/1c9778603ff49563d1d3d0d357de0608167e504d/stress_test_(thread).html
Fixes : #29416
2021-10-10 04:03:36 +03:00
Azat Khuzhin
cc1fbe27a7
Fix build due to conflicts in serverConstants
...
Refs: #29755
Refs: #29913
2021-10-10 03:40:51 +03:00
Maksim Kita
84555646ff
Merge pull request #29927 from ClickHouse/better-exception-message-in-reading-arrow
...
Better exception message while reading column from Arrow-supported formats
2021-10-10 01:18:43 +03:00
Maksim Kita
daf9cf12d9
Merge pull request #29755 from Joeywzr/new_func
...
add function getOSKernelVersion
2021-10-10 01:12:54 +03:00
alexey-milovidov
ee577e1ab4
Merge pull request #29155 from FArthur-cmd/add_CORS
...
Add Cors support
2021-10-09 20:18:17 +03:00
Maksim Kita
889034f6c2
Merge pull request #29913 from amosbird/refactor1
...
Cosmetic refactoring of server constants.
2021-10-09 19:59:27 +03:00
Alexey Milovidov
0828ecae97
Better exception message while reading column from Arrow-supported formats
2021-10-09 19:46:36 +03:00
Vladimir C
8ca3c7be3a
Merge pull request #29881 from vesslanjin/optimize-column-string-filter-performance
2021-10-09 19:44:15 +03:00
mergify[bot]
b53d95470b
Merge branch 'master' into format-alter
2021-10-09 16:35:52 +00:00
Nikolai Kochetov
102dd33cd8
Merge pull request #29841 from ClickHouse/coro-example
...
Add coroutines example.
2021-10-09 19:17:30 +03:00
Nikolai Kochetov
f908531b76
Fix debug build.
2021-10-09 19:12:47 +03:00
tavplubix
017b3eccbe
Merge pull request #29901 from ClickHouse/logging_in_zk_client
...
Add logging in ZooKeeper client
2021-10-09 18:25:40 +03:00
Artur
a853cd57ca
refactoring
2021-10-09 12:56:00 +00:00
Artur
12f59f2dca
refactor
2021-10-09 12:52:20 +00:00
Artur
473f7bee3a
refactor
2021-10-09 12:16:37 +00:00
WangZengrui
96a9d99ab6
add test
2021-10-09 19:53:21 +08:00
Vladimir C
3940382c2f
Remove defined(__POPCNT__) from column filter
2021-10-09 13:34:02 +03:00
Maksim Kita
0358d664b9
Merge pull request #29882 from MaxWk/add-alias-for-name
...
Add table alias to system.tables and database alias to system.databases
2021-10-09 12:44:40 +03:00
Vasily Nemkov
67ff0f5dba
Refactoring: moved comment
out of ASTStorage to ASTCreateQuery
2021-10-09 12:25:27 +03:00
WangZengrui
2204597cfe
add FunctionOSKernelVersion
2021-10-09 16:49:49 +08:00
feng lv
fa2b277e62
improment format of AlterQuery
2021-10-09 07:57:37 +00:00
Nikolai Kochetov
939d38b13e
Fix gtest build.
2021-10-09 10:01:58 +03:00
vesslanjin
bed09ee68d
Whitespace fix
...
Signed-off-by: vesslanjin <jun.i.jin@intel.com>
2021-10-09 02:56:10 -04:00
Nikolai Kochetov
f7c1e25526
Fix tidy
2021-10-09 09:00:51 +03:00
Amos Bird
89a52930c6
Cosmetic refactoring of server constants.
2021-10-09 11:47:27 +08:00
taiyang-li
860f74db62
remove unused var
2021-10-09 11:15:13 +08:00
tavplubix
fa1396a9dd
Merge pull request #29790 from ClickHouse/fix-bad-cast-in-parser-create
...
Fix bad cast in ParserCreateQuery
2021-10-08 23:53:38 +03:00
Alexander Tokmakov
8513994a65
add logging in ZooKeeper client
2021-10-08 23:51:21 +03:00
Nikolai Kochetov
7a5cc357ec
Fix style
2021-10-08 22:44:08 +03:00
vesslanjin
75af011068
use while instead of popcnt + for
...
Co-authored-by: Zhu Jasper jasper.zhu@intel.com
2021-10-08 14:58:23 -04:00
Nikolai Kochetov
2ad2f20176
Add NOLINT
2021-10-08 21:55:09 +03:00
Nikolai Kochetov
1f6d5482b1
Fix some tests.
2021-10-08 21:33:51 +03:00
Kseniia Sumarokova
67a30b566d
Merge pull request #29864 from kssenii/fix-client
...
Fix client
2021-10-08 20:30:57 +03:00
Nikolai Kochetov
c6bce1a4cf
Update Native.
2021-10-08 20:21:19 +03:00
Nikolai Kochetov
340b53ef85
Remove some more streams.
2021-10-08 17:03:54 +03:00
MaxWk
f0e193d5a5
add database alias
2021-10-08 20:25:37 +08:00
Nikolai Kochetov
3acdcc6ec5
Update example
2021-10-08 15:03:31 +03:00
tavplubix
f0e3122507
Merge pull request #29804 from ClickHouse/improvement_for_28373
...
Improvement for #28373
2021-10-08 14:30:00 +03:00
Nikolai Kochetov
9eddee5517
Merge pull request #29768 from ClickHouse/remove-merging-streams
...
Remove some merging streams
2021-10-08 13:15:10 +03:00
Kseniia Sumarokova
74f0ce3b76
Merge pull request #29828 from Shohjahon/patch-1
...
Postgresql partitioned table support for replica idenitity index
2021-10-08 12:33:54 +03:00
Vladimir C
525df99893
Whitespace fix
2021-10-08 12:10:19 +03:00
Vladimir C
35feb08236
Whitespace changes
2021-10-08 12:03:55 +03:00
vesslanjin
383f3a3a20
Remove branchy code in filter operation with a better implementation with popcnt/ctz which have better performance
...
Co-authored-by: Zhu Jasper <jasper.zhu@intel.com>
2021-10-08 09:19:58 -04:00
MaxWk
b081f58db5
add alias
2021-10-08 16:49:02 +08:00
Maksim Kita
651c725595
Merge pull request #29857 from azat/system-tables-diff-check
...
Fix system tables recreation check (fails to detect changes in enum values)
2021-10-07 23:57:43 +03:00
Maksim Kita
4e90ceaf04
Merge pull request #29858 from azat/trace_log-MemoryPeak
...
Add ability to trace peak memory usage (with new trace_type - MemoryPeak)
2021-10-07 23:52:04 +03:00
kssenii
c734ada95b
Fix
2021-10-07 20:28:38 +00:00
Maksim Kita
717998a37f
Merge pull request #29825 from azat/memory_profiler_step-cleaner-api
...
Make memory_profiler_step API cleaner
2021-10-07 22:44:47 +03:00
tavplubix
de2fd9d762
Merge pull request #29812 from ClickHouse/better_diagnostic_for_optimize
...
Better diagnostic for OPTIMIZE
2021-10-07 22:22:25 +03:00
Azat Khuzhin
bf88f102fe
Add ability to trace peak memory usage (with new trace_type - MemoryPeak)
2021-10-07 21:13:56 +03:00
Azat Khuzhin
1b8e3b6b96
Fix system tables recreation check (fails to detect changes in enum values)
...
Fixes : #23934 (cc @kitaisreal)
2021-10-07 21:12:43 +03:00
Nikolai Kochetov
213d68d995
Fix some tests.
2021-10-07 20:27:13 +03:00
Kruglov Pavel
1ac03811a2
Merge pull request #29811 from ClickHouse/fix_overflow_in_stopwatch
...
Fix overflow in Stopwatch
2021-10-07 20:14:26 +03:00
Kseniia Sumarokova
185d58a7cc
Merge pull request #29766 from ClickHouse/remove_redundant_seeks
...
Less seeks in compressed buffers
2021-10-07 17:04:50 +03:00
Nikolai Kochetov
d24bfce93f
Add coroutines example.
2021-10-07 17:03:54 +03:00
Alexander Tokmakov
7e2bc184ec
fix another suspicious places, add test
2021-10-07 16:43:49 +03:00
Nikolai Kochetov
25e2ebac75
Merge pull request #29782 from azat/lc-concurrent-GROUP-BY-fix
...
Fix concurrent access to LowCardinality during GROUP BY (leads to SIGSEGV)
2021-10-07 16:27:53 +03:00
Alexander Tokmakov
afd69ef833
fix check for nondeterministic mutations
2021-10-07 15:24:40 +03:00
tavplubix
754e038eec
Merge pull request #29803 from ClickHouse/intersects-previous-part-usability
...
Improve usability of error messages when error is caused by sophisticated interventions
2021-10-07 15:24:17 +03:00
Haavard Kvaalen
c41923c595
MaterializedMySQL: Update GTID set at end of transaction
...
We would update the set of seen GTIDs as soon as we saw a GTID_EVENT,
which arrives before a transaction. This would mostly work fine, but
if we lost the connection to MySQL in the middle of a large transaction
we would persist that the transaction had been processed as soon as the
transaction had started. When the connection was reestablished, we
would not process the transaction again, which meant that we only
applied parts of it.
Fix this by updating the seen GTIDs at the end of the transaction
instead.
2021-10-07 14:09:00 +02:00
Anton Popov
4bc14dedfb
Merge pull request #28352 from Avogar/div-null
...
Avoid division by zero when denominator is Nullable
2021-10-07 14:47:53 +03:00
Kruglov Pavel
13b2fdc23b
Merge pull request #29659 from amosbird/jsonfix3
...
Fix nullable processing in JSONFunctions
2021-10-07 13:55:22 +03:00
Alexander Tokmakov
5365cc686f
Merge branch 'master' into improvement_for_strange_mutations
2021-10-07 13:26:58 +03:00
Nikolai Kochetov
db79dc2a3d
Revert "Add coroutines example."
2021-10-07 13:11:51 +03:00
Nikolai Kochetov
8263d30321
Merge pull request #29827 from ClickHouse/coro-example
...
Add coroutines example.
2021-10-07 13:08:16 +03:00
Alexander Tokmakov
4119848a41
better diagnostic for OPTIMIZE
2021-10-07 13:08:10 +03:00
Nikolai Kochetov
94a29545c8
Add logger.
2021-10-07 13:06:59 +03:00
Shoh Jahon
298f613557
Update fetchPostgreSQLTableStructure.cpp
...
added partitioned table prefix 'p' for the query for fetching replica identity index @kssenii !
2021-10-07 14:59:23 +05:00
Vladimir C
0422939893
Merge pull request #29281 from lingtaolf/bugfix/tupleFilter
2021-10-07 12:24:26 +03:00
Nikolai Kochetov
3e518861a0
Add coroutines example.
2021-10-07 12:23:22 +03:00
Nikolai Kochetov
4ab2e2745b
Merge pull request #29786 from azat/parallel_view_processing-fix
...
Fix parallel_view_processing
2021-10-07 12:15:26 +03:00
Nikolai Kochetov
78e1db209f
Remove more data streams ( #29491 )
...
* Remove more streams.
* Fixing build.
* Fixing build.
* Rename files.
* Fix fast test.
* Fix StorageKafka.
* Try fix kafka test.
* Move createBuffer to KafkaSource ctor.
* Revert "Move createBuffer to KafkaSource ctor."
This reverts commit 81fa94d27e
.
* Revert "Try fix kafka test."
This reverts commit 2107e54969
.
* Comment some rows in test.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-07 11:26:08 +03:00
Vladimir C
b02c12b182
Merge pull request #23881 from darkkeks/fix-cross-to-inline-join-error-condition
2021-10-07 11:09:36 +03:00
Vladimir C
4b80c6ff21
Merge pull request #29545 from CurtizJ/remove-permute
2021-10-07 11:07:34 +03:00
Azat Khuzhin
71cffbf521
Make memory_profiler_step API cleaner
...
Right now to configure memory_profiler_step/total_memory_profiler_step
you need to call:
MemoryTracker::setOrRaiseProfilerLimit()
MemoryTracker::setProfilerStep()
But it is easy to forget about setOrRaiseProfilerLimit(), since there is
no even any comments about this.
So instead, make setOrRaiseProfilerLimit() private and call it from
setProfilerStep()
2021-10-07 10:52:16 +03:00
Maksim Kita
d91377c993
Merge pull request #29816 from kitaisreal/dictionary-attributes-updated-documentation
...
Dictionary attributes updated documentation
2021-10-07 10:21:15 +03:00
Maksim Kita
4ec7311d4d
Merge pull request #29738 from kitaisreal/added-function-ngram
...
Added function ngram
2021-10-07 10:21:00 +03:00
alexey-milovidov
16ad5953d6
Merge pull request #29783 from azat/tcphandler-progress-race
...
Fix data-race between fatal error handler and progress packets
2021-10-07 01:47:29 +03:00
avogar
568e27e9b3
Fix tests
2021-10-07 00:19:37 +03:00
Azat Khuzhin
9515430517
Fix compilation with glibc 2.34 (MINSIGSTKSZ defined as sysconf(_SC_SIGSTKSZ))
...
In glibc 2.34 MINSIGSTKSZ had been defined to sysconf(_SC_SIGSTKSZ) [1].
[1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=6c57d320484988e87e446e2e60ce42816bf51d53
2021-10-07 00:18:56 +03:00
Maksim Kita
c2c621c6dc
Dictionary attributes updated documentation
2021-10-06 23:33:36 +03:00
Maksim Kita
b7b39da8cc
Fixed build
2021-10-06 23:22:29 +03:00
Maksim Kita
dce50c8b8a
Merge pull request #29779 from kitaisreal/parse-query-from-metadata-exception-throw-fix
...
Parse query from metadata exception throw fix
2021-10-06 21:29:12 +03:00
Amos Bird
a34a08268b
Fix nullable processing in JSONFunctions
2021-10-07 02:26:50 +08:00
Amos Bird
a391b64f57
Revert "Merge pull request #29746 from azat/JSONExtract-Null-fix"
...
This reverts commit e990f35ba3
, reversing
changes made to 8e03e0127a
.
2021-10-07 02:26:32 +08:00
Azat Khuzhin
83c271f446
Move QueryPipelineBuilder::setMaxThreads() into the InterpreterInsertQuery
2021-10-06 21:25:37 +03:00
Nikolai Kochetov
d0c6f11fcb
More.
2021-10-06 20:59:27 +03:00
Alexander Tokmakov
c5d631ca54
fix overflow in Stopwatch
2021-10-06 18:09:13 +03:00
Filatenkov Artur
545673248a
Merge branch 'master' into add_CORS
2021-10-06 16:09:34 +03:00
Alexander Tokmakov
c0ee6d46f7
resolve dependency of StorageDictionary
2021-10-06 15:39:14 +03:00
Alexey Milovidov
1455cfeddd
Improve usability of error messages when error is caused by sophisticated interventions
2021-10-06 15:28:52 +03:00
Maksim Kita
33353be4ed
Fixed tests
2021-10-06 15:12:07 +03:00
Filatenkov Artur
a9e8ba0c00
Correct behaviour with unknown methods ( #29057 )
...
* correct behaviour with unknown methods
* move check on earlier stage
* add test
* correct filter for handler
* Update HTTPServerConnection.cpp
* remove trying to get params
* correct filter for head requests
* Update HTTPHandlerFactory.h
* Update HTTPHandlerFactory.h
* Trigger Build
2021-10-06 14:43:05 +03:00
Maksim Kita
d2b3f3bd11
Merge pull request #29796 from kitaisreal/function-reinterpet-as-improve-readability
...
Function reinterpretAs improve readability
2021-10-06 13:44:24 +03:00
avogar
5e4cda02b6
Fix build
2021-10-06 13:38:22 +03:00
alesapin
621c9884fc
Account offset in readBig call
2021-10-06 12:39:54 +03:00
Nikolai Kochetov
6b619512aa
Fix style.
2021-10-06 12:37:56 +03:00
Filatenkov Artur
bf8a2b109f
Merge branch 'ClickHouse:master' into add_CORS
2021-10-06 11:57:29 +03:00
Maksim Kita
490ef61a03
Function reinterpretAs improve readability
2021-10-06 11:43:11 +03:00