Commit Graph

39227 Commits

Author SHA1 Message Date
kssenii
876fb55156 Remove redundant code 2023-03-22 16:51:30 +01:00
kssenii
c35deb8094 Review fixes 2023-03-22 16:49:33 +01:00
Kseniia Sumarokova
48bba254ad
Merge pull request #47854 from azat/psql-fix-empty-query
Improve empty query detection for PostgreSQL (for pgx golang driver)
2023-03-22 16:45:50 +01:00
Nikolai Kochetov
d7d3722b76 Revert analyzer till later. 2023-03-22 15:41:54 +00:00
Amos Bird
02c5d1f364
Correct exact_rows_before_limit in all senarios 2023-03-22 23:26:31 +08:00
kssenii
419d9a4887 Fix typo from previous commit 2023-03-22 15:11:14 +01:00
Vitaly Baranov
e70577a46e
Merge pull request #47861 from azat/restore-correct-pool
Use restore_threads (not backup_threads) for RESTORE ASYNC
2023-03-22 14:14:23 +01:00
Vitaly Baranov
7515af0be1
Merge pull request #47657 from vitlibar/improve-thread_pool
Improve ThreadPool
2023-03-22 13:31:01 +01:00
Nikita Mikhaylov
301e26b23d
Parallel replicas. Part 2.5 (#47858) 2023-03-22 13:05:38 +01:00
Antonio Andelic
b832840cf3 Recalculate always projections on mutations in ReplicatedMergeTree 2023-03-22 11:21:23 +00:00
Robert Schulze
784b34f5d8
Merge pull request #47869 from ClickHouse/rs/bug-47530
Add REGEXP operator
2023-03-22 10:31:25 +01:00
taiyang-li
db6efaa339 fix failed uts 2023-03-22 16:53:47 +08:00
taiyang-li
94175b79a7 Merge branch 'master' into to_timestamp 2023-03-22 16:46:44 +08:00
taiyang-li
d850c5a526 change as request 2023-03-22 16:45:46 +08:00
Maksim Kita
4dc5a629c3
Merge pull request #47758 from ClickHouse/vdimir/comparsion_tuple_elimination_ast
Add ComparisonTupleEliminationVisitor
2023-03-22 11:22:25 +03:00
Maksim Kita
40b077c22b
Merge pull request #47506 from CurtizJ/get-subcolumn
Better support of identifiers from compound expressions in analyzer
2023-03-22 11:19:25 +03:00
SmitaRKulkarni
464b166e91
Merge pull request #47725 from ClickHouse/46741_Parameterized_view_support_subquery
Support for subquery in parameterized views
2023-03-22 09:05:26 +01:00
flynn
dba352274c fix 2023-03-22 08:05:00 +00:00
vdimir
6919db3d46 Fix test_mysql_protocol 2023-03-22 08:59:04 +01:00
vdimir
a5cca40cf0 Pass ConvertToASTOptions by constref 2023-03-22 08:59:04 +01:00
vdimir
ebd71f226c Support SETTINGS argument of table functions 2023-03-22 08:59:04 +01:00
vdimir
023d14a894 Support transformQueryForExternalDatabase for analyzer 2023-03-22 08:59:04 +01:00
Antonio Andelic
ad2f5ba0d6 Fix datetime monotonicity check for LC 2023-03-22 07:41:31 +00:00
flynn
ef6b891f28 fix 2023-03-22 02:47:04 +00:00
kssenii
da05e63f2e Simplify code 2023-03-21 23:14:25 +01:00
kssenii
2376f3a298 Review fixes 2023-03-21 22:50:16 +01:00
Robert Schulze
5091bd42f0
Add REGEXP operator (Bug: 47530) 2023-03-21 21:29:19 +00:00
Nikolay Degterinsky
ccb0d7df00
Merge branch 'master' into evillique-patch-1 2023-03-21 22:13:12 +01:00
Vitaly Baranov
4318212c73 Make a condition more clear. 2023-03-21 21:52:59 +01:00
Vitaly Baranov
096d0132af More corrections. 2023-03-21 21:52:59 +01:00
Vitaly Baranov
0a0e9d060f Corrections after review. 2023-03-21 21:52:59 +01:00
Vitaly Baranov
85d38493f6 Improve ThreadPool
ThreadPool::setMaxThreads() can now start new threads (if there are scheduled jobs in the queue for them);
ThreadPool::setMaxFreeThreads() can now finish free threads.
2023-03-21 21:52:59 +01:00
Alexander Tokmakov
c114361879
Update MergeTreeData.h 2023-03-21 23:15:59 +03:00
Nikolay Degterinsky
3a8314c13e
Merge pull request #47576 from HarryLeeIBM/hlee-s390x-storage-gen
Fix SipHash hashing and byte order in GenerateRandom for s389x
2023-03-21 21:06:08 +01:00
Alexander Tokmakov
8a71e42f08
Merge pull request #47769 from HarryLeeIBM/hlee-s390x-partid
Fix partition ID byte order for s390x
2023-03-21 23:01:36 +03:00
Alexander Tokmakov
7adb1e296c
Merge pull request #47839 from vitlibar/remove-wrong-assert
[FixTests] Remove wrong chassert() in UserDefinedSQLObjectsLoaderFromZooKeeper.cpp
2023-03-21 23:00:53 +03:00
Alexander Tokmakov
0989dd837a
Merge pull request #47802 from ClickHouse/fix_some_tests
Fix 993 and two other tests
2023-03-21 22:20:06 +03:00
Azat Khuzhin
1ebbfac721 Use restore_threads (not backup_threads) for RESTORE ASYNC
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-21 20:35:00 +02:00
Nikolai Kochetov
b432fa1122 Attempt to use new analyzer. 2023-03-21 17:56:58 +00:00
Smita Kulkarni
aa079efbb7 Addressed review comments 2023-03-21 18:29:26 +01:00
vdimir
c25170381c
Better ComparisonTupleEliminationVisitor 2023-03-21 16:23:09 +00:00
vdimir
030ee3a525
Add ComparisonTupleEliminationVisitor 2023-03-21 16:11:06 +00:00
Azat Khuzhin
d45d55969a Improve empty query detection for PostgreSQL (for pgx golang driver)
From PostgreSQL documentation [1]:

    If a completely empty (no contents other than whitespace) query string
    is received, the response is EmptyQueryResponse followed by
    ReadyForQuery.

  [1]: https://www.postgresql.org/docs/current/protocol-flow.html

So without it it will try to process the query and send "Empty query"
instead, that's why it is important.

Refs: 9ae852eb58/conn.go (L388)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-21 17:48:55 +02:00
zvonand
83ee185fce upd 2023-03-21 16:33:19 +01:00
flynn
db31af84c3 fix build 2023-03-21 15:09:10 +00:00
Alexander Tokmakov
9c4c7948e5
Update src/Interpreters/Session.cpp
Co-authored-by: alesapin <alesapin@clickhouse.com>
2023-03-21 17:39:45 +03:00
Alexander Tokmakov
be4884d07a
Update src/Interpreters/Session.cpp
Co-authored-by: alesapin <alesapin@clickhouse.com>
2023-03-21 17:39:40 +03:00
Antonio Andelic
85641a1bf8
Merge pull request #47820 from ClickHouse/odbc-roundtrip-flaky
Make 01086_odbc_roundtrip less flaky
2023-03-21 15:37:02 +01:00
flynn
db7582e060 AST fuzzer support fuzzing SELECT query to EXPLAIN query randomly 2023-03-21 14:26:39 +00:00
Alexander Tokmakov
17e1c6be8e fix race condition on session close 2023-03-21 15:01:39 +01:00
Robert Schulze
4eeab9fd25
Revert "Add sanity checks for writing number in variable length format" 2023-03-21 14:24:53 +01:00
Vitaly Baranov
27ef59d46e Remove wrong chassert() in UserDefinedSQLObjectsLoaderFromZooKeeper.cpp 2023-03-21 13:56:27 +01:00
zvonand
1bd6eef9c2 readded new funcs + basic tests, big decimals WiP 2023-03-21 13:38:39 +01:00
Kruglov Pavel
dc8f38c039
Merge pull request #47812 from Vigor-jpg/master
Fixed error print message while Decimal parameters is incorrect
2023-03-21 12:45:43 +01:00
Kseniia Sumarokova
3c550b4314
Merge pull request #46647 from kssenii/named-collections-finish
Named collections: finish replacing old code for storages
2023-03-21 12:36:46 +01:00
Kseniia Sumarokova
a9bcd022d5
Merge pull request #46241 from kssenii/named-collections-granular-access
Allow separate grants for every named collection
2023-03-21 12:27:53 +01:00
Antonio Andelic
ed3f51d9b3 Merge branch 'master' into avoid-merging-partition 2023-03-21 10:46:03 +00:00
AVMusorin
038bfb40ab
dynamic update system.backups 2023-03-21 11:42:54 +01:00
Vladimir C
ab1105a5a6
Merge pull request #47685 from ClickHouse/vdimir/issue_47533 2023-03-21 11:41:00 +01:00
Vladimir C
5add1e1b2e
Merge pull request #47684 from ClickHouse/vdimir/improve_log_queries_cut 2023-03-21 11:17:54 +01:00
robot-ch-test-poll3
01df1008bb
Merge pull request #47608 from azat/varuint
Add sanity checks for writing number in variable length format
2023-03-21 11:14:41 +01:00
Antonio Andelic
f218f3671d Make 01086_odbc_roundtrip less flaky 2023-03-21 09:40:10 +00:00
Robert Schulze
a2ed794518
Merge pull request #47771 from ClickHouse/rs/more-llvm-16-preparation
More preparation for upgrade to libcxx(abi), llvm, clang-tidy 16
2023-03-21 10:13:07 +01:00
robot-ch-test-poll1
de0f964b7b
Merge pull request #47803 from ucasfl/fuzz-explain
Support fuzz Explain query
2023-03-21 10:05:14 +01:00
Ilya Golshtein
5091b4e224 orphaned role - expiration_time => expiration_time_seconds 2023-03-21 08:44:08 +01:00
flynn
7531840fd7 Support fuzz Explain query 2023-03-21 02:41:51 +00:00
Ilya Golshtein
3f51101ad4 orphaned role - must initialize role cache for e.g clickhouse-local 2023-03-20 23:21:25 +01:00
Ilya Golshtein
e1d1ead941 orphaned role - tests only 2023-03-20 23:21:25 +01:00
Alexander Tokmakov
d5a561a2ef fix 993 and two other tests 2023-03-20 22:51:32 +01:00
Nikita Taranov
c99e742482 impl 2023-03-20 22:47:48 +01:00
Anton Popov
633b1809a5 fix reading from storage File compressed files with zlib and gzip compression 2023-03-20 20:56:43 +00:00
Robert Schulze
595796e63d
Merge branch 'master' into rs/more-llvm-16-preparation 2023-03-20 21:16:27 +01:00
Robert Schulze
82a4b307ae
Merge branch 'master' into rs/qc-cachebase 2023-03-20 20:44:34 +01:00
fyu
dabc022289 Fixed error print message while Decimal parameters is incorrect 2023-03-21 03:27:18 +08:00
Dmitry Novik
3cafb9747a Fix corner cases and TOTALS with constants 2023-03-20 19:42:11 +01:00
HarryLeeIBM
ed1ff02114 Fix partition ID byte order for s390x 2023-03-20 14:19:27 -04:00
Anton Popov
158131053b
Merge pull request #47688 from ucasfl/fix-limit-offset
Fix limit offset
2023-03-20 18:47:41 +01:00
pufit
fa0c4b5b1b
Merge branch 'master' into polygons-crash-45355 2023-03-20 13:36:30 -04:00
Sergei Trifonov
273770519b
Merge branch 'master' into master 2023-03-20 18:28:10 +01:00
robot-ch-test-poll4
91f8901cd6
Merge pull request #47743 from ucasfl/remove
remove unused code
2023-03-20 17:43:41 +01:00
taiyang-li
96413e528c commit again 2023-03-21 00:24:06 +08:00
Robert Schulze
3b7f929001
Merge branch 'master' into rs/qc-cachebase 2023-03-20 17:08:47 +01:00
taiyang-li
3ca789b4a2 changes as requested 2023-03-20 23:58:37 +08:00
vdimir
8c48714236
wipeSensitiveDataAndCutToLength take into accound suffix length 2023-03-20 15:54:19 +00:00
kssenii
75624c52f7 Merge remote-tracking branch 'upstream/master' into named-collections-granular-access 2023-03-20 16:38:14 +01:00
vdimir
bb7a8ed862
Apply log_queries_cut_to_length in MergeTreeWhereOptimizer 2023-03-20 15:38:09 +00:00
taiyang-li
c77ed91319 change as request 2023-03-20 23:20:57 +08:00
vdimir
19fb88c2c1
Simple fix logical error in evaluate constant expression 2023-03-20 15:10:50 +00:00
Alexander Gololobov
cb0065fba2
Merge pull request #47757 from Algunenano/fix_zk_retry_exception
Fix ZK exception error message
2023-03-20 16:05:16 +01:00
Anton Popov
52a394168e fix clang-tidy 2023-03-20 14:33:27 +00:00
Igor Nikonov
1073c7f3c9 Revert "Actually stop retries in case of storage shutdown"
This was unnecessary since, as for exceptions, retries done only on
zkutil::KeeperException

This reverts commit 795a1c84e1.
2023-03-20 13:54:25 +00:00
Igor Nikonov
795a1c84e1 Actually stop retries in case of storage shutdown 2023-03-20 13:48:04 +00:00
Igor Nikonov
1098055409 Stop wait for quorum retries on shutdown 2023-03-20 13:21:10 +00:00
Robert Schulze
5b036a1a3b
More preparation for libcxx(abi), llvm, clang-tidy 16 (follow-up to #47722) 2023-03-20 12:55:03 +00:00
vdimir
9b8d20e443
Revert better fix logical error in evaluate constant expression 2023-03-20 12:42:09 +00:00
Vitaly Baranov
198409e12a
Merge pull request #46085 from aalexfvk/alexfvk/store_udf_in_zookeeper
Replication of user-defined SQL functions using ZooKeeper
2023-03-20 13:41:29 +01:00
vdimir
a78b817e6f
Fix logical error in evaluate constant expression 2023-03-20 12:35:54 +00:00
kssenii
019de827a1 Fix 2023-03-20 13:23:24 +01:00
Raúl Marín
fb6ce35ea2 Fix ZK exception error message 2023-03-20 13:00:24 +01:00
flynn
cac37c8a3c
Merge branch 'master' into remove 2023-03-20 18:43:48 +08:00
kssenii
cae3b335d6 Merge remote-tracking branch 'upstream/master' into named-collections-finish 2023-03-20 11:23:22 +01:00
kssenii
8537ee400d Fix kafka test 2023-03-20 11:22:25 +01:00
flynn
8a6e4daefa remove unused code 2023-03-20 08:31:38 +00:00
Alexey Milovidov
698fcba525
Merge branch 'master' into fix-mysql-leak 2023-03-20 07:37:01 +03:00
Alexey Milovidov
b514a4c70f
Merge pull request #47519 from ClickHouse/fuzzer-of-data-formats
Fuzzer of data formats
2023-03-20 07:20:23 +03:00
Alexey Milovidov
b415a03aa4
Merge pull request #47714 from ClickHouse/maybe-faster-build
Speed up build
2023-03-20 04:11:46 +03:00
Alexey Milovidov
ddf29b69f9
Merge branch 'master' into fuzzer-of-data-formats 2023-03-20 03:26:51 +03:00
Alexey Milovidov
e788bf0712
Merge pull request #47721 from ClickHouse/revert-47622-analyzer-planner-fixes-before-enable-by-default
Revert "Analyzer planner fixes before enable by default"
2023-03-20 03:24:03 +03:00
kssenii
ea375ef989 Fix memory leak 2023-03-20 00:40:06 +01:00
Dmitry Novik
f6569f60e6 Remove constant aggregation keys 2023-03-19 20:50:32 +01:00
Konstantin Morozov
dec5972194 add optimization for MemoryStorageStep 2023-03-19 20:35:24 +01:00
Smita Kulkarni
87cb2e1629 Support for subquery in parameterized views
Implementation:
* Updated to pass the parameter is_create_parameterized_view to subquery processing.
Testing:
* Added test case with subquery for parameterized view.
2023-03-19 19:41:19 +01:00
Robert Schulze
0e01e912fe
Preparation for libcxx(abi), llvm, clang-tidy 16 2023-03-19 17:25:41 +00:00
Alexey Milovidov
ef5e8462da
Revert "Analyzer planner fixes before enable by default" 2023-03-19 19:25:37 +03:00
Alexey Milovidov
6118b619a1 Fix style 2023-03-19 17:20:06 +01:00
Alexey Milovidov
7f54aab145 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-of-data-formats 2023-03-19 16:57:35 +01:00
Alexey Milovidov
0031ecb197 Forbid meaningless data types #47720 2023-03-19 16:54:32 +01:00
Alexey Milovidov
f0da8f9dcd Better exception messages in -ForEach 2023-03-19 16:38:00 +01:00
Alexey Milovidov
02b8d2bbf8
Merge pull request #47716 from ClickHouse/prevent-slow-aggregate-combinators
Prevent too long (slow) aggregate function combinators
2023-03-19 17:38:53 +03:00
Robert Schulze
c4664c70a1
Merge branch 'master' into rs/qc-cachebase 2023-03-19 15:23:24 +01:00
Alexey Milovidov
8412a72aaa Fix error 2023-03-19 10:10:33 +01:00
Alexey Milovidov
7c82baff12 Prevent too long (slow) aggregate function combinators 2023-03-19 10:00:12 +01:00
Alexey Milovidov
4f0d86c9a6 Fix style 2023-03-19 09:22:38 +01:00
Alexey Milovidov
cc8e30a744 Split to multiple translation units 2023-03-19 08:54:23 +01:00
Alexey Milovidov
2755e68981 Maybe faster build 2023-03-19 08:36:05 +01:00
Alexey Milovidov
ecff329ca1
Update AggregateFunctionGroupBitmapData.h 2023-03-19 10:18:28 +03:00
Alexey Milovidov
3655667188 Make the code in Join less disgusting 2023-03-19 07:35:56 +01:00
Alexey Milovidov
0ec04cca5e Make the code in Join less disgusting 2023-03-19 07:32:29 +01:00
Alexey Milovidov
8fdbc5409c Make the code in Join less disgusting 2023-03-19 07:31:18 +01:00
Alexey Milovidov
100089a76c Make the code in Join less disgusting 2023-03-19 07:17:59 +01:00
Alexey Milovidov
6e1b45d1d6 Fix exotic trash 2023-03-19 06:48:18 +01:00
Alexey Milovidov
637f6fdd51 Limit memory in fuzzers 2023-03-19 06:17:55 +01:00
Alexey Milovidov
465a89ba15 Limit memory in fuzzers 2023-03-19 05:55:53 +01:00
Alexey Milovidov
a99f10e16f Better error messages 2023-03-19 05:34:44 +01:00
Alexey Milovidov
57a5a946c9 Fix error 2023-03-19 05:34:10 +01:00
Alexey Milovidov
ee98b555fb Limit memory in fuzzers 2023-03-19 05:11:32 +01:00
Alexey Milovidov
ef01579726 Fix trash - the code written in C with pointers 2023-03-19 03:19:15 +01:00
Alexey Milovidov
8549825a74 Fix obvious error 2023-03-19 02:55:13 +01:00
Alexey Milovidov
9a7883143b Small adjustments 2023-03-19 02:44:39 +01:00
Alexey Milovidov
d0090119a1 I hate short variable names wholeheartedly 2023-03-19 02:39:59 +01:00
Alexey Milovidov
43c931c1a4 Update the fuzzer 2023-03-19 02:27:00 +01:00
Alexey Milovidov
dc19e46cab Add more fuzzers 2023-03-19 02:14:41 +01:00
Alexey Milovidov
2a077f11f6 Merge branch 'master' into fuzzer-of-data-formats 2023-03-19 01:07:31 +01:00
Ongkong
d9c7bc1859
Fix ASOF LEFT JOIN performance degradation (#47544) 2023-03-18 23:53:00 +01:00
Alexey Milovidov
5f5e6d28c7
Merge pull request #47690 from Avogar/bson-fix-3
Fix bug in tuple as array serialization in BSONEachRow format
2023-03-18 22:18:40 +03:00
Alexey Milovidov
8821f45a20
Merge pull request #47650 from Avogar/nested-arrays-protobuf
Allow reading/writing nested arrays in Protobuf with only root field name as column name
2023-03-18 22:18:01 +03:00
Alexey Milovidov
93a3962f45
Merge pull request #47609 from Avogar/fix-bson-2
Check for duplicate column in BSONEachRow format
2023-03-18 22:17:27 +03:00
Alexey Milovidov
26c17b61fb
Merge pull request #47434 from Avogar/avro-improvements
Support Decimals and Date32 in Avro format
2023-03-18 22:16:34 +03:00
Alexey Milovidov
b97154263d
Merge pull request #47703 from ClickHouse/add-style-check-for-dereference-after-cast
Add a style check for unsafe code
2023-03-18 22:07:47 +03:00
Alexander Tokmakov
f1df91cd09
Merge pull request #47659 from ClickHouse/fix_993
Fixes for 993 and friends
2023-03-18 14:46:43 +03:00
Maksim Kita
5187138510
Merge pull request #47622 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
Analyzer planner fixes before enable by default
2023-03-18 13:11:40 +03:00
Antonio Andelic
a0582a14b9
Merge pull request #47423 from ClickHouse/add-expiration-window-s3
Add expiration window for S3 credentials
2023-03-18 10:11:29 +01:00
Alexey Milovidov
c10011ddf9 Fix error 2023-03-18 04:38:04 +01:00
Alexey Milovidov
aea421cc9b Add a style check for unsafe code 2023-03-18 03:29:14 +01:00
Sema Checherinda
0b641fcead
Merge pull request #47564 from CheSema/remove-redundant
remove counters for threads, fix negative counters
2023-03-18 02:23:52 +01:00
pufit
c14c083cdf Fix crash in polygonsSymDifferenceCartesian 2023-03-17 19:30:12 -04:00
Han Fei
722e6bb2e8
Merge pull request #47680 from ClickHouse/rs/uncruftify-build
CMake: Remove further cruft from build
2023-03-17 22:58:46 +01:00
Alexey Milovidov
c11915d35b Merge branch 'fix-bson-2' of github.com:Avogar/ClickHouse into fuzzer-of-data-formats 2023-03-17 22:05:46 +01:00
Nikolay Degterinsky
7fb171f84d
Merge pull request #47596 from evillique/native-client-ssl
Add SSL User Certificate authentication to the native protocol
2023-03-17 21:27:58 +01:00
alexX512
023c0ba46e Fix comments 2023-03-17 20:05:10 +00:00
vdimir
68da4f713e
Real better fix logical error in evaluate constant expression 2023-03-17 18:38:47 +00:00
Nikolai Kochetov
6509d9e525 Refactir a bit more. 2023-03-17 18:36:49 +00:00
Kruglov Pavel
d72bf0af71
Fix style 2023-03-17 19:35:20 +01:00
Kruglov Pavel
a5a7df85c7
Merge branch 'master' into bson-fix-3 2023-03-17 19:30:28 +01:00
Alexander Tokmakov
d11aee2b0c
Merge branch 'master' into fix_993 2023-03-17 21:28:23 +03:00
avogar
facb978830 Fix bug in tuple as array serialization in BSONEachRow format 2023-03-17 17:59:29 +00:00
Alexey Milovidov
6d9d88efc1 Fix style 2023-03-17 18:37:13 +01:00
Alexey Milovidov
2bffed06de Fix style 2023-03-17 18:35:19 +01:00
vdimir
dcf8314122
Better fix logical error in evaluate constant expression 2023-03-17 17:04:28 +00:00
vdimir
4930683aa8
Revert "Fix logical error in evaluate constant expression"
This reverts commit 2958c5f0f1.
2023-03-17 17:01:40 +00:00
alesapin
e45b558a86
Merge pull request #47676 from ClickHouse/fix_zero_copy_lock_check
Fix zero copy lock check
2023-03-17 17:51:14 +01:00
alesapin
1022c47421 Review fixes 2023-03-17 17:45:02 +01:00
flynn
868e86e9ed Fix limit offset 2023-03-17 16:27:24 +00:00
Kruglov Pavel
c376712007
Fix 2023-03-17 16:56:24 +01:00
Kruglov Pavel
5d0d7695aa
Fix 2023-03-17 16:55:13 +01:00
kssenii
19413f6228 Add assertions 2023-03-17 16:39:10 +01:00
vdimir
2958c5f0f1
Fix logical error in evaluate constant expression 2023-03-17 15:08:16 +00:00
Sema Checherinda
e8295be9be if no group then do attachInternalTextLogsQueue to the thread only 2023-03-17 15:56:30 +01:00
Antonio Andelic
1b7401b58a
Update src/Storages/StorageS3.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2023-03-17 15:46:15 +01:00
Robert Schulze
23281c7348
Merge pull request #47669 from ClickHouse/rs/more-gold-removal
Follow-up to #47660: Further removal of gold linker support
2023-03-17 14:58:23 +01:00
Robert Schulze
f72a337074
Remove cruft from build
No need to check compiler flags, clang >= 15 supports all of them.
2023-03-17 13:44:04 +00:00
Maksim Kita
2d2696bc20 Fixed code review issues 2023-03-17 14:34:23 +01:00
kssenii
a2977e373a Merge remote-tracking branch 'upstream/master' into cache-better-locks 2023-03-17 14:34:04 +01:00
Kruglov Pavel
4522b74fc6 Fix typo 2023-03-17 13:05:41 +00:00
avogar
f8dab850a9 Check for duplicate column in BSONEachRow format 2023-03-17 13:05:41 +00:00
Anton Popov
3ee3666db7 fix clang-tidy 2023-03-17 13:02:15 +00:00
kssenii
d7b2ea60eb Review fixes 2023-03-17 13:56:02 +01:00
kssenii
bb0beb7449 Merge remote-tracking branch 'upstream/master' into named-collections-finish 2023-03-17 13:02:36 +01:00
alesapin
e44fca8bb9 Add test 2023-03-17 12:56:31 +01:00
Sema Checherinda
49feba9272
Merge pull request #47632 from ClickHouse/filling-transform-untangle
FillingTransform: remove unnecessary indirection when accessing columns
2023-03-17 12:40:53 +01:00
Robert Schulze
f8980c582e
CMake: More removal of gold linker (follow-up to #47660)
+ fix a linker warning
2023-03-17 11:01:46 +00:00
Alexander Tokmakov
7719acad72
Revert "Fix BSONEachRow parallel parsing when document size is invalid" 2023-03-17 14:00:19 +03:00
Sema Checherinda
e2af8f6ed6 add a comment, rename a field 2023-03-17 11:59:44 +01:00
Aleksei Filatov
886b530963 [rev: 1] Fix review remarks 2023-03-17 13:56:05 +03:00
Aleksei Filatov
cf6ca10c83 Tests for replicated system.functions 2023-03-17 13:56:05 +03:00
Aleksei Filatov
690d8355ca Add classes for backup/restore UDF 2023-03-17 13:56:04 +03:00
Aleksei Filatov
f84aa2f4ca Add classes for replication UDF to ZooKeeper 2023-03-17 13:56:04 +03:00
Sergei Trifonov
1a84203c7f
Merge pull request #47656 from ClickHouse/background_pool_limit_metric
Add background pools size metrics
2023-03-17 11:49:53 +01:00
chen
60b7ad819d
Add system.marked_dropped_tables (#47364)
* add system table marked_dropped_tables

* add test

* add test

* fix

* fix test

* fix style

* fix test

* Update 25400_marked_dropped_tables.sql

* Update 25400_marked_dropped_tables.sql

* Update 25400_marked_dropped_tables.sql

* Update 25400_marked_dropped_tables.sql

* Update 25400_marked_dropped_tables.sql

* fix

* fix test

* Update StorageSystemMarkedDroppedTables.cpp

* fix

* if table_mark_dropped.table is nullptr, engine set empty
2023-03-17 13:48:26 +03:00
alesapin
4a80197f16 Merge branch 'master' into fix_zero_copy_lock_check 2023-03-17 11:18:51 +01:00
alesapin
efa0622a84
Merge pull request #47631 from ClickHouse/fix_wait_for_zero_copy_lock
Fix wait for zero copy lock during move
2023-03-17 11:15:55 +01:00
alesapin
5c280a9919
Merge pull request #47534 from ClickHouse/small-enhancements
Small enhancements
2023-03-17 11:11:44 +01:00
Sema Checherinda
df9e247d67 fix tidy build, fix test when Databasereplicated 2023-03-17 10:49:41 +01:00
Alexey Milovidov
1abe5ea58e Add data type fuzzer 2023-03-17 04:44:14 +01:00
Alexey Milovidov
6275c472a7 Better exceptions 2023-03-17 03:14:49 +01:00
Alexey Milovidov
651aba0d1b Slightly better 2023-03-17 00:19:49 +01:00
Alexey Milovidov
31b46df85c Fix an error 2023-03-17 00:13:52 +01:00
Sergei Trifonov
2cbd91b852
Merge branch 'master' into background_pool_limit_metric 2023-03-16 23:23:42 +01:00
alesapin
3731567b6a Bad code 2023-03-16 21:48:47 +01:00
Robert Schulze
02a2c73bae
Merge pull request #47607 from save-my-heart/inverted_index
checksum: do not check inverted index files
2023-03-16 21:34:17 +01:00
Anton Popov
e536c80274 add test with array of tuples 2023-03-16 20:30:54 +00:00
Alexander Tokmakov
d621b2c4ad fix intersecting parts, better fault injections 2023-03-16 21:28:07 +01:00
Alexey Perevyshin
2c6534f5c8
Merge branch 'master' into master 2023-03-16 23:57:36 +04:00
Anton Popov
4c9e2aecbd allow to use qualified matcher for Map type 2023-03-16 19:50:15 +00:00
Igor Nikonov
34e9b07854 - remove debug logging
+ init columns method
2023-03-16 19:33:53 +00:00
alesapin
92eb6685c6 Fix lock check 2023-03-16 20:17:29 +01:00
Sema Checherinda
3c6deddd1d work with comments on PR 2023-03-16 19:55:58 +01:00
Alexey Milovidov
704cb54afe Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-of-data-formats 2023-03-16 19:50:33 +01:00
Igor Nikonov
f7da3821b8 Make lambdas ordinary functions 2023-03-16 18:46:42 +00:00
robot-ch-test-poll
ff56d49ce2
Merge pull request #47647 from jorisgio/fix_quadratic_debug_code
fix typo in HashJoin insertion that enables debug code in release build #46726
2023-03-16 19:39:51 +01:00
Igor Nikonov
288cc0843a some polishing 2023-03-16 18:09:08 +00:00
Anton Popov
00aaa29a85 better hint for compound identifiers 2023-03-16 18:00:39 +00:00
Alexander Tokmakov
a72f0cae07
Merge pull request #46071 from arenadata/ADQM-639
Add support of arbitrary engines for temporary tables
2023-03-16 20:56:25 +03:00
Igor Nikonov
4904a9fb7a Create result columns as MutableColumns at the begining
Use IColumn* to manipulate columns on specific positions in result columns
2023-03-16 17:44:29 +00:00
serxa
3ad7194e31 add pool size metrics 2023-03-16 17:31:41 +00:00
HarryLeeIBM
1ba75c6408 Refactored by using std::byteswap 2023-03-16 10:03:43 -07:00
Robert Schulze
eb206bbe25
Fix clang-tidy build 2023-03-16 16:08:24 +00:00
Azat Khuzhin
8495deb7e3 Remove unused removePartFromZooKeeper()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
(cherry picked from commit dbdb46e906)
2023-03-16 16:43:23 +01:00
Alexander Tokmakov
8b8215f91a fix some other tests, add logs for further debugging 2023-03-16 16:40:08 +01:00
Kruglov Pavel
ffa8af2861
Merge pull request #47540 from Avogar/fix-bson-bug
Fix BSONEachRow parallel parsing when document size is invalid
2023-03-16 16:25:25 +01:00
Alexander Tokmakov
8e36f883d3 add 'strict' mode for sync replica, fix 00993 2023-03-16 16:04:42 +01:00
avogar
2cc47b5bb6 Allow reading/writing nested arrays in Protobuf with only root field name as column name 2023-03-16 14:43:37 +00:00
alexX512
6ea522adee Style fix 2023-03-16 14:23:17 +00:00
Joris Giovannangeli
6c8fc4cd11
fix hashjoin debug code condition 2023-03-16 14:06:37 +01:00
HarryLeeIBM
808f2c0cb4 Fix hashing tuples for s390x 2023-03-16 08:44:28 -04:00
alexX512
29dd2e56f9 Fix pulling pipeline 2023-03-16 12:41:17 +00:00
Kruglov Pavel
a3510a2ffe
Merge pull request #47271 from Avogar/codecs-better
Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs.
2023-03-16 12:20:23 +01:00
Robert Schulze
7d7052350c
Merge branch 'master' into rs/qc-cachebase 2023-03-16 10:42:17 +01:00
Igor Nikonov
3a3cb703d4
Merge pull request #47399 from ClickHouse/improve-remove-redundant-distinct
Remove distinct on top of MergingAggregatedStep
2023-03-16 10:36:32 +01:00
Maksim Kita
558aa6c164
Merge pull request #47583 from kitaisreal/merge-tree-explain-prewhere-and-row-policy
ReadFromMergeTree explain prewhere and row policy actions
2023-03-16 12:31:34 +03:00
Roman Vasin
46d683fbf6 Apply patch to fix grants hierarchy 2023-03-16 08:17:33 +00:00
alexX512
cf75dd2595 Remove sleep_in_receive_cancel 2023-03-16 04:39:11 +00:00
robot-clickhouse-ci-1
1223b8959b
Merge pull request #47626 from ClickHouse/rs/follow-up-to-47614
Follow-up to #47614
2023-03-16 00:31:51 +01:00
Han Fei
e0954ce7be fix compile 2023-03-16 00:22:05 +01:00
Alexey Milovidov
92a5b81222 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-of-data-formats 2023-03-15 23:59:16 +01:00
Igor Nikonov
b369366b19 Some refactoring
+ result_columns
+ move interpolate to method from lambda
2023-03-15 22:13:16 +00:00
alesapin
fc913649cf Check only for interactive moves 2023-03-15 22:51:53 +01:00
pufit
f4d9b4a888
Merge pull request #47086 from pkit/pkit/insert_http_body
use http request body in predefined http handlers
2023-03-15 17:41:05 -04:00
alesapin
ef7508469c Fix wait for zero-copy replication move during manual move 2023-03-15 22:29:24 +01:00
Sema Checherinda
67ac858a52 remove counters for threads, fix negative counters 2023-03-15 22:22:22 +01:00