Commit Graph

60852 Commits

Author SHA1 Message Date
vdimir
77c253634a
Merge pull request #66725 from ClickHouse/vdimir/join_on_null_fix_followup
Support one more case in JOIN ON ... IS NULL
2024-07-22 10:09:57 +00:00
Yohann Jardin
2f1818b8d5 update error codes related to number of accepted arguments 2024-07-22 11:21:54 +02:00
Robert Schulze
9d2dac90ed
Functions [a-g]: Use input_rows_count where appropriate 2024-07-22 07:32:36 +00:00
Antonio Andelic
5547ce1a91
Merge pull request #66820 from ClickHouse/realloc-small-fix
Small fix in realloc memory tracking
2024-07-22 06:34:47 +00:00
Robert Schulze
049056e55a
Fix style 2024-07-22 05:48:40 +00:00
Alexey Milovidov
de4a97a9a7 Remove support for -WithDictionary suffix for data types 2024-07-22 07:41:15 +02:00
Alexey Milovidov
85015cfbd0 Merge branch 'master' into remove-unused-local-variables 2024-07-22 07:12:47 +02:00
Alexey Milovidov
6f9be58f09 Merge branch 'master' into miscellaneous 2024-07-22 06:42:50 +02:00
Alexey Milovidov
1b606e525a Fix inconsistent formatting of NOT ((SELECT ...)) 2024-07-22 06:34:10 +02:00
Alexey Milovidov
e0c19c3036 Merge branch 'master' into something-strange-with-the-test-about-refreshable-materialized-views 2024-07-22 05:54:00 +02:00
Alexey Milovidov
5611ef0d38
Merge pull request #66819 from ClickHouse/fix-inconsistent-formatting-lambda
Fix inconsistent formatting of lambda functions inside composite types
2024-07-22 02:51:00 +00:00
Alexey Milovidov
aafefd19c2
Merge pull request #66804 from ClickHouse/better-diagnostics-for-test-trace_events_stress
Better diagnostics for test trace_events_stress
2024-07-21 20:13:36 +00:00
Robert Schulze
4b8b9b1503
Fix UB in function "age" 2024-07-21 17:25:49 +00:00
Alexey Milovidov
6d47b5cf6c Merge branch 'better-diagnostics-for-test-trace_events_stress' into remove-unused-local-variables 2024-07-21 12:12:46 +02:00
Alexey Milovidov
c61581ca69 Fix error 2024-07-21 12:06:53 +02:00
Vitaly Baranov
19f8e1768f Add const to cycles. 2024-07-21 11:52:10 +02:00
Antonio Andelic
433ac55d13 Correctly handle failure 2024-07-21 11:41:42 +02:00
Alexey Milovidov
a6b275217a Merge branch 'master' into better_limit_in_keeper 2024-07-21 11:36:20 +02:00
Alexey Milovidov
d3a269c61d
Merge pull request #65298 from Algunenano/low_cardinality_wtf
Fix unexpected size of low cardinality column in functions (CONSTANT action from mergeable state)
2024-07-21 09:32:21 +00:00
Alexey Milovidov
7ed9ab2338 Remove wrong logic from InterpreterCreateQuery 2024-07-21 11:29:12 +02:00
Alexey Milovidov
a6f1c46448 Miscellaneous 2024-07-21 11:08:38 +02:00
Alexey Milovidov
7f03b18966 Fix two terrible bugs 2024-07-21 10:49:53 +02:00
Alexey Milovidov
ea83f89374 Fix inconsistent formatting of lambda functions inside composite types 2024-07-21 10:39:03 +02:00
Alexey Milovidov
5ff125e37e Miscellaneous 2024-07-21 10:32:54 +02:00
Alexey Milovidov
aaea80ba66 Merge branch 'master' into better-diagnostics-for-test-trace_events_stress 2024-07-21 09:18:23 +02:00
Alexey Milovidov
f71244c85c Something is strange with the test about refreshable materialized views 2024-07-21 08:53:54 +02:00
Alexey Milovidov
7fe84bd211 Merge branch 'master' into remove-unused-local-variables 2024-07-21 07:14:55 +02:00
Alexey Milovidov
f1021b70f7 Better diagnostics for test trace_events_stress 2024-07-21 07:05:09 +02:00
Alexey Milovidov
2beed8c304
Merge pull request #66579 from ClickHouse/fix-weak-hash-for-sparce
Fix weak hash for sparse
2024-07-21 04:32:17 +00:00
Alexey Milovidov
6f1f28c32f Merge branch 'master' into fix_992 2024-07-20 23:20:52 +02:00
Alexey Milovidov
7483f81b10
Merge pull request #66501 from ClickHouse/remove-noise-from-unit-tests
Remove noise from unit tests
2024-07-20 19:54:55 +00:00
Alexey Milovidov
ae447f47d8
Merge pull request #66735 from ClickHouse/fix-show-merges
Fix SHOW MERGES
2024-07-20 19:23:46 +00:00
Alexey Katsman
32d3ebf799
Merge pull request #66526 from alexkats/gwp
Don't start GWP allocations until init is finished
2024-07-20 16:53:53 +00:00
Nikita Mikhaylov
dba2566119
Merge pull request #66786 from ClickHouse/remove-obsolete-code-from-cmake
Remove obsolete code from CMakeLists
2024-07-20 16:43:33 +00:00
Vitaly Baranov
a3a4548d96 Fix removing files after restoring to s3_plain_rewritable. 2024-07-20 15:01:29 +02:00
Anton Popov
62add99d93
Merge pull request #66286 from CurtizJ/index-hint-fuzzer
Fix `indexHint` function case found by fuzzer
2024-07-20 11:51:42 +00:00
Alexey Milovidov
b57f5043e2
Merge pull request #66626 from bigo-sg/tuple_insert_bug
`column_length` is not updated in `ColumnTuple::insertManyFrom`
2024-07-20 00:36:13 +00:00
Alexey Milovidov
582781e414 Merge branch 'master' into remove-unused-local-variables 2024-07-20 02:29:24 +02:00
Alexey Milovidov
210fd7c6e3 Merge branch 'master' into remove-noise-from-unit-tests 2024-07-20 02:26:22 +02:00
Alexey Milovidov
ed6a1b112e
Merge pull request #66633 from ClickHouse/fix-bad-log-message
Fix bad log message
2024-07-19 23:18:42 +00:00
Alexey Milovidov
0a8d636dba Merge branch 'master' into fix-show-merges 2024-07-20 01:17:19 +02:00
Sema Checherinda
52c69c8c22
Merge pull request #66730 from ClickHouse/chesema-fix-test-02789
relax condition in test, remove unused counters
2024-07-19 22:49:58 +00:00
Han Fei
29f1120f05
Merge pull request #56626 from hanfei1991/hanfei/keeperrocks
support RocksDB as alternative keeper storage
2024-07-19 21:56:02 +00:00
Nikita Taranov
a11e89f4f7 impl 2024-07-19 19:00:45 +01:00
Alexey Milovidov
e1a659f83b Remove obsolete code from CMakeLists 2024-07-19 19:24:22 +02:00
Alexander Tokmakov
3abf636853 fix for 992 and friends 2024-07-19 19:16:53 +02:00
Vitaly Baranov
5bea6751e0 Make the error message about broken parts more useful. 2024-07-19 19:11:07 +02:00
Nikolai Kochetov
17666b5245 Merge branch 'master' into fix-weak-hash-for-sparce 2024-07-19 18:36:00 +02:00
Duc Canh Le
ae878cad57 Merge branch 'master' into fix_trivial_count_non_deterministic_func
Fix clang tidy
2024-07-19 15:21:14 +00:00
Han Fei
fc0832d5d3 Merge branch 'master' into negative-sign-in-prewhere-optimization 2024-07-19 14:51:10 +00:00
Robert Schulze
a54a0614a4
Iterate over input_rows_count instead of a size of a random input column 2024-07-19 14:14:59 +00:00
AntiTopQuark
128f14afd5
Merge branch 'ClickHouse:master' into master 2024-07-19 22:04:47 +08:00
Alex Katsman
eb51dc8980 Don't start GWP allocations until init is finished 2024-07-19 13:34:50 +00:00
Sema Checherinda
4075629f18 Merge branch 'master' into chesema-fix-test-02789 2024-07-19 15:06:37 +02:00
Alexander Sapin
a0171256fd Small improvement for background pool in Keeper 2024-07-19 14:41:17 +02:00
lgbo-ustc
9164c98936 add test and merge #66623 2024-07-19 20:25:36 +08:00
lgbo-ustc
09cf5b1188 column_length is not updated in ColumnTuple::insertManyFrom 2024-07-19 20:25:36 +08:00
Robert Schulze
064bd643da
Cosmetics 2024-07-19 12:23:56 +00:00
Nikolai Kochetov
52b03eb776
Merge pull request #66654 from ClickHouse/fix-is-null-constant-folding-old-analyzer
Disable getConstantResultForNonConstArguments for IS NULL with old analyzer
2024-07-19 11:35:02 +00:00
Han Fei
424b96011c Merge branch 'master' into hanfei/keeperrocks 2024-07-19 11:25:01 +00:00
Nikolai Kochetov
5a26e60672
Merge pull request #66655 from ClickHouse/fix-in-scalar-first-arg
Allow scalar subquery in the first argument of IN with new analyzer.
2024-07-19 10:55:07 +00:00
Kruglov Pavel
0d00e84c5c
Merge pull request #66659 from ClickHouse/Avogar-patch-6
Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
2024-07-19 10:32:45 +00:00
vdimir
4e8c4e76a7
Merge branch 'master' into vdimir/join_on_null_fix_followup 2024-07-19 10:31:00 +02:00
vdimir
b732723c18
Merge branch 'master' into vdimir/full_sorting_join_improvements 2024-07-19 10:30:32 +02:00
Alexey Milovidov
d6a885d794 Merge branch 'master' into fix-bad-log-message 2024-07-19 04:03:53 +02:00
Alexey Milovidov
b1b5123a6a
Merge pull request #66630 from ClickHouse/remove-system-functions-is-deterministic
Remove `is_deterministic` from system.functions
2024-07-19 01:52:45 +00:00
Alexey Milovidov
5e88411c7f
Merge pull request #66641 from amosbird/named-tuple-null
Avoid generating named tuple for special keywords (null, true, false)
2024-07-19 01:52:10 +00:00
Alexey Milovidov
78dbbc3049
Merge pull request #66707 from Algunenano/fix_vertical_merge
Fix rare case of stuck merge after drop column
2024-07-19 01:49:11 +00:00
Alexey Milovidov
c4c8e999c2
Merge pull request #66722 from ClickHouse/chesema-fix-isUniqTypes
fixing assert `isUniqTypes`
2024-07-19 01:48:00 +00:00
Alexey Milovidov
ed56a7ce50 Merge branch 'master' into remove-unused-local-variables 2024-07-18 23:11:30 +02:00
Alexey Milovidov
f266e2cc87 Merge branch 'master' into remove-noise-from-unit-tests 2024-07-18 23:09:50 +02:00
Alexey Milovidov
c021f9dcd3 Fix SHOW MERGES 2024-07-18 22:56:15 +02:00
Han Fei
05569aad4b
Merge pull request #66658 from hanfei1991/hanfei/debug-split-block
add log for splitBlockIntoParts
2024-07-18 20:18:05 +00:00
Vitaly Baranov
d7250c1d63 Add function ASTCreateQuery::hasInnerUUIDs(). 2024-07-18 21:44:23 +02:00
Vitaly Baranov
cdadef7847 Add more comments. 2024-07-18 21:26:33 +02:00
Nikita Taranov
4eb5a40443 add unit tests 2024-07-18 19:04:42 +01:00
Sema Checherinda
36468c528d relax condition in test, remove unused counters 2024-07-18 19:55:09 +02:00
vdimir
093b13329c
One more check in JOIN ON ... IS NULL 2024-07-18 15:46:05 +00:00
vdimir
07900b6e11
Merge pull request #66595 from MikhailBurdukov/verify_primary_key_dictionary
Add option for validating the Primary key type in Dictionaries.
2024-07-18 15:11:23 +00:00
Sema Checherinda
e128d88ff1 fix CollectionOfDerivedItems::append to appendIfUniq 2024-07-18 16:42:47 +02:00
Han Fei
4859a74469 Merge branch 'master' into hanfei/debug-split-block 2024-07-18 16:04:13 +02:00
vdimir
ab2522b170
fix asof join on nulls 2024-07-18 13:17:34 +00:00
János Benjamin Antal
9597516425
Merge pull request #66599 from ClickHouse/fix-named-collection-remove
Fix dropping named collection in local storage
2024-07-18 12:04:55 +00:00
Nikita Mikhaylov
a56e08ef8a
Merge pull request #61109 from ClickHouse/signal_handlers_in_client
Add signal handlers in client and local
2024-07-18 11:54:59 +00:00
vdimir
1ac8ad4eed
Merge branch 'master' into vdimir/full_sorting_join_improvements 2024-07-18 11:33:27 +00:00
vdimir
85714e7d7e
fix asof join on nulls 2024-07-18 11:31:23 +00:00
Raúl Marín
5c1db5fc66 Fix column injection in merges after drop column 2024-07-18 13:30:22 +02:00
Anton Popov
1dd1c1fca9 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-18 11:03:33 +00:00
Yarik Briukhovetskyi
fba71903e5
Merge pull request #66103 from yariks5s/group_array_intersect_merge_fix
Fix for `groupArrayIntersect`
2024-07-18 10:36:22 +00:00
avogar
bd29313a15 Merge branch 'master' of github.com:ClickHouse/ClickHouse into Avogar-patch-6 2024-07-18 10:32:02 +00:00
Antonio Andelic
233fce695b
Merge pull request #66644 from k-morozov/fix-data-race-client-s3
Fix data race in S3::ClientCache
2024-07-18 10:28:41 +00:00
Nikolai Kochetov
9966347599 Merge branch 'master' into fix-in-scalar-first-arg 2024-07-18 12:17:42 +02:00
Nikita Mikhaylov
03e6085ef4
Merge pull request #66694 from ClickHouse/fix-something
Fix something around clang-tidy
2024-07-18 09:46:38 +00:00
Robert Schulze
3c2c5b3ed5
Merge pull request #61131 from rschu1ze/revert-revert-show-index-sorting
Revert revert of "Fix wacky primary key sorting in `SHOW INDEX`"
2024-07-18 09:05:56 +00:00
Robert Schulze
ddaff38a8f
Merge pull request #66673 from rschu1ze/case-enum
Minor: Make `CaseSensitiveness` an enum class
2024-07-18 06:56:35 +00:00
Antonio Andelic
3d6f91039e
Merge pull request #66548 from ClickHouse/correctly-handle-realloc
Correctly track memory for `Allocator::realloc`
2024-07-18 06:08:17 +00:00
Alexey Milovidov
6e6b3500df
Merge branch 'master' into signal_handlers_in_client 2024-07-18 05:06:07 +02:00
Alexey Milovidov
a2b383a83f
Merge pull request #65871 from ClickHouse/uninteresting-changes
Uninteresting changes
2024-07-18 01:40:25 +00:00
Alexey Milovidov
c0328dacfd Merge branch 'fix-something' into remove-system-functions-is-deterministic 2024-07-18 03:36:07 +02:00
Alexey Milovidov
dde2f10c37 Merge branch 'master' into remove-system-functions-is-deterministic 2024-07-18 03:36:03 +02:00
Alexey Milovidov
142e7ce328 Merge branch 'master' into remove-unused-local-variables 2024-07-18 03:34:57 +02:00
Alexey Milovidov
4217d029c0 Fix something 2024-07-18 03:33:36 +02:00
Alexey Milovidov
4ac48f08c3
Merge pull request #66505 from ClickHouse/fix-double-whitespace-in-explain-ast
Fix double whitespace in EXPLAIN AST CREATE
2024-07-18 01:25:37 +00:00
Alexey Milovidov
50836d8af7 Merge branch 'fix-processors_profile_log' into fix-bad-log-message 2024-07-18 03:09:51 +02:00
AntiTopQuark
e3cb0690c1
Merge branch 'ClickHouse:master' into master 2024-07-18 08:44:11 +08:00
Nikolay Degterinsky
4afd5f60fe
Merge pull request #66409 from evillique/fix-valid-until
Fix VALID UNTIL clause resetting after restart
2024-07-18 00:05:57 +00:00
Han Fei
29d164c3c5 Merge branch 'master' into hanfei/debug-split-block 2024-07-18 01:32:59 +02:00
Nikita Taranov
b8cf882992 impl 2024-07-17 23:22:24 +01:00
Alexey Milovidov
3985a4012d Fix tidy 2024-07-18 00:06:25 +02:00
Alexey Milovidov
589f806201 Merge branch 'master' into remove-noise-from-unit-tests 2024-07-18 00:05:20 +02:00
Igor Nikonov
9810a658e3
Merge pull request #66380 from ClickHouse/pr-cleanup
PR cleanup: remove redundant code
2024-07-17 21:45:10 +00:00
Nikita Taranov
36eeec53bb
Merge branch 'master' into adaptive_task_size_mt_read_pool 2024-07-17 23:09:21 +02:00
Han Fei
2b7ad9c54c
Merge pull request #66531 from hanfei1991/hanfei/fix_keeper_tcp_log
fix log in keeper tcp handler
2024-07-17 21:04:24 +00:00
Robert Schulze
79402aa71b
Make CaseSensitiveness an enum class 2024-07-17 20:56:30 +00:00
Alexey Milovidov
247f584ae7 Merge branch 'master' into remove-system-functions-is-deterministic 2024-07-17 20:35:11 +02:00
Alexey Milovidov
adc94f0c07 Merge branch 'master' into fix-bad-log-message 2024-07-17 20:33:28 +02:00
Alexey Milovidov
496b4c9a5c
Merge pull request #66393 from ClickHouse/vdimir/client-noninteractive-mem-usage
Add --memory-usage option to client in non interactive mode
2024-07-17 18:25:40 +00:00
Kruglov Pavel
b4a3cba519
Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn 2024-07-17 20:09:14 +02:00
Amos Bird
eb129232ff
Avoid generating named tuple for special keywords 2024-07-18 02:00:45 +08:00
Han Fei
c7fa082eac add log for splitBlockIntoParts 2024-07-17 19:32:54 +02:00
Nikolai Kochetov
8bc537b490 Allo scalar subquery in fisrt argiment of IN with new analyzer. 2024-07-17 17:26:51 +00:00
Alexey Milovidov
37dd775643
Update Squashing.cpp 2024-07-17 18:31:27 +02:00
Alexey Milovidov
d5345c5aae
Update Squashing.cpp 2024-07-17 18:31:10 +02:00
Alexey Milovidov
f7ca8513d0
Merge branch 'master' into uninteresting-changes 2024-07-17 18:30:19 +02:00
Nikolai Kochetov
8e013a1c59 Disable getConstantResultForNonConstArguments for IS NULL with old analyzer. 2024-07-17 16:23:36 +00:00
Nikita Taranov
5608914bca impl 2024-07-17 16:59:31 +01:00
Alexey Milovidov
c4972920c8
Merge pull request #66562 from ClickHouse/fix-hash-empty-tuple
Fix hashing of empty tuples
2024-07-17 15:53:45 +00:00
Nikolai Kochetov
05874d0b85 Fixing style. 2024-07-17 15:37:55 +00:00
János Benjamin Antal
e25fbb6d47 Fix style 2024-07-17 15:28:08 +00:00
János Benjamin Antal
7092f42a29
Merge pull request #66231 from ClickHouse/fix-system-number-limit-offset
Fix bug in `numbers` when both limit and offset is used but the index cannot be used
2024-07-17 15:26:39 +00:00
Nikolay Degterinsky
383ce4bb8c Merge remote-tracking branch 'upstream/master' into fix-valid-until 2024-07-17 14:58:09 +00:00
Konstantin Bogdanov
5ce0675de8
Merge pull request #66334 from aalexfvk/watchdog_keeps_unlinked_logs
Watchdog keeps descriptors of unlinked log files
2024-07-17 14:52:47 +00:00
Nikolai Kochetov
74b4bc78ad
Merge pull request #65400 from k-morozov/add_system_detach_tables
system detached_tables
2024-07-17 14:05:31 +00:00
Han Fei
aebadce491 Merge branch 'master' into hanfei/keeperrocks 2024-07-17 13:52:15 +00:00
Konstantin Morozov
fd443a1721 add mutable 2024-07-17 13:43:36 +00:00
Nikolai Kochetov
9b1e5c81d5
Merge branch 'master' into fix-weak-hash-for-sparce 2024-07-17 15:25:18 +02:00
yariks5s
f2076daa76 Merge https://github.com/ClickHouse/ClickHouse into group_array_intersect_merge_fix 2024-07-17 13:23:53 +00:00
Nikolai Kochetov
baade8baf4 Replace updateWeakHash to getWeakHash 2024-07-17 13:23:44 +00:00
Konstantin Morozov
0de54b9d29 fix comma 2024-07-17 13:01:04 +00:00
Vitaly Baranov
c8eac30108
Merge pull request #66621 from vitlibar/fix-logical-error-in-prometheus-request-handler
Fix logical error in PrometheusRequestHandler
2024-07-17 12:35:46 +00:00
Konstantin Morozov
8211d8eabf fix data race 2024-07-17 12:04:37 +00:00
János Benjamin Antal
7356e809ab Ensure that getPath is not called with an absolute path 2024-07-17 11:32:02 +00:00
Yarik Briukhovetskyi
f01a285f60
Merge pull request #65359 from joelynch/joelynch/dict-acl-bypass
Fix more dictGet ACL bypasses
2024-07-17 11:15:44 +00:00
Han Fei
d47a09456d Merge branch 'master' into hanfei/fix_keeper_tcp_log 2024-07-17 13:09:02 +02:00
MikhailBurdukov
8a81946033 Rename opt 2024-07-17 10:52:01 +00:00
Sema Checherinda
762593e5e9
Merge pull request #66144 from ClickHouse/revert-66134-revert-61601-chesema-dedup-matview
Revert "Revert "insertion deduplication on retries for materialized views""
2024-07-17 10:44:35 +00:00
Robert Schulze
67852402aa
Better (perhaps, if the stars align) 2024-07-17 10:30:56 +00:00
cangyin
f1350b442c Negative sign in prewhere optimization 2024-07-17 17:30:27 +08:00
Robert Schulze
93abd4a6e9
Merge pull request #66374 from Zawa-ll/66010-add-machine-id-to-snowflakeid-clean
Add `machine_id` parameter to `generateSnowflakeID`
2024-07-17 09:28:17 +00:00
Robert Schulze
237ee50226
Merge remote-tracking branch 'ClickHouse/master' into revert-revert-show-index-sorting 2024-07-17 09:21:21 +00:00