Commit Graph

60852 Commits

Author SHA1 Message Date
Alexey Milovidov
da81588d42
Merge pull request #66816 from ClickHouse/something-strange-with-the-test-about-refreshable-materialized-views
Something is strange with the test about refreshable materialized views
2024-07-24 01:25:12 +00:00
Alexey Milovidov
fc944d2711 Merge branch 'master' into remove-with-dictionary 2024-07-24 03:22:36 +02:00
Alexey Milovidov
3d041ff806 Merge branch 'chesema-fix-BannedForConsiquenceFail' of github.com:ClickHouse/ClickHouse into fix-distributed-analyzer 2024-07-24 02:53:11 +02:00
Alexey Milovidov
6657808663 Merge branch 'master' into fix-distributed-analyzer 2024-07-24 02:52:53 +02:00
Alexey Milovidov
1914b37058
Merge pull request #65521 from JackyWoo/add_statistics_cmsketch
Add count-min sketches as statistics type
2024-07-24 00:46:23 +00:00
Alexey Milovidov
8a5dcc5bd2
Merge pull request #66911 from ClickHouse/speed-up-merge-tree-mutations-2
Speed up mutations for non-replicated MergeTree significantly
2024-07-24 00:11:57 +00:00
Alexander Tokmakov
516432e42a
Merge pull request #66785 from ClickHouse/fix_992
Fix for 992 and friends
2024-07-23 21:47:08 +00:00
avogar
beed31a7e3 Fix use-of-uninitialized-value in JSONExtract* numeric functions 2024-07-23 20:07:47 +00:00
Michael Kolupaev
68eea21f1f Merge remote-tracking branch 'origin/master' into uwo 2024-07-23 17:38:17 +00:00
Michael Kolupaev
1cbbbd1077 Apply libunwind fix 2024-07-23 17:35:12 +00:00
Robert Schulze
104c3be7b6
Functions [h-r]*: Iterate over input_rows_count where appropriate 2024-07-23 17:21:46 +00:00
Raúl Marín
73ab9a1197 Revert "Merge pull request #65298 from Algunenano/low_cardinality_wtf"
This reverts commit d3a269c61d, reversing
changes made to 023cf118dc.
2024-07-23 19:11:22 +02:00
alesapin
c7400fbd50 Add more diagnostics in case of digest mismatch for DatabaseReplicated 2024-07-23 18:08:07 +02:00
Nikita Taranov
bc9c462155 more comments 2024-07-23 15:47:55 +01:00
Nikita Taranov
5e41c29a90
Merge pull request #66732 from ClickHouse/more_debug_info_for_cgroup_observer
Dump all memory stats in CgroupsMemoryUsageObserver on hitting the limit
2024-07-23 14:29:10 +00:00
Sema Checherinda
17b306dee5 fix tests with timeouts 2024-07-23 16:20:12 +02:00
Antonio Andelic
44c66f7a2b
Merge pull request #66865 from ClickHouse/fix-02911_backup_restore_keeper_map
Fix `KeeperMap` create after incomplete drop
2024-07-23 13:08:47 +00:00
Nikita Taranov
ea61af961a impl 2024-07-23 13:36:26 +01:00
Raúl Marín
53c7bf680b Update autogenerated version to 24.8.1.1 and contributors 2024-07-23 11:46:48 +00:00
Kruglov Pavel
bf595ca374
Merge pull request #66510 from canhld94/fix_trivial_count_non_deterministic_func
Fix wrong count result when there is non-deterministic function in predicate
2024-07-23 10:30:26 +00:00
JackyWoo
9d7bb2a430 Move unit tests to gtest_convertFieldToType.cpp 2024-07-23 15:07:18 +08:00
Alexey Milovidov
416ec9ba69 Merge branch 'master' into better_limit_in_keeper 2024-07-23 07:20:34 +02:00
Alexey Milovidov
d50742eadc Better 2024-07-23 06:52:34 +02:00
Alexey Milovidov
ac13983ebb Better 2024-07-23 06:52:19 +02:00
Alexey Milovidov
feaa7ede97 Fix views over distributed tables with Analyzer 2024-07-23 06:34:29 +02:00
Alexey Milovidov
8899d42428 Speed up mutations for non-replicated MergeTree significantly 2024-07-23 04:29:46 +02:00
Alexey Milovidov
4cbb8bab56 Speed up mutations for non-replicated MergeTree a bit 2024-07-23 04:09:06 +02:00
Alexey Milovidov
9cef1d3f06 Merge branch 'fix-performance-test-generate-random' into something-strange-with-the-test-about-refreshable-materialized-views 2024-07-23 02:31:26 +02:00
Alexey Milovidov
bd9bfc34a9
Merge pull request #66840 from ClickHouse/fix-inconsistent-formatting-of-not-subquery
Fix inconsistent formatting of `NOT ((SELECT ...))`
2024-07-23 00:17:13 +00:00
Nikita Taranov
24bacd2d5d
Merge pull request #65676 from AntiTopQuark/master
support MinMax hyperrectangle for MergeTreeIndexSet
2024-07-22 20:02:48 +00:00
Antonio Andelic
88d4013596 Merge branch 'master' into fix-02911_backup_restore_keeper_map 2024-07-22 21:52:43 +02:00
alesapin
406addb2dc Add aborted to retryable errors 2024-07-22 19:39:37 +02:00
alesapin
ea78ae85ed Fix style 2024-07-22 19:23:45 +02:00
Vitaly Baranov
4f02ded96e
Merge pull request #66590 from vitlibar/move-view-targets-to-separate-ast
Move view targets to separate AST class ASTViewTargets
2024-07-22 17:20:09 +00:00
avogar
ef4cb8b283 Add missing check 2024-07-22 17:18:20 +00:00
avogar
454eb1af7e Fix invalid format detection in schema inference
tmp
2024-07-22 17:16:29 +00:00
alesapin
fd2d56d58a Better processing of broken parts and their projections 2024-07-22 19:05:49 +02:00
Robert Schulze
fec867e97d
Merge pull request #66846 from rschu1ze/funcs-a-g-input_rows_count
Functions `[a-g]*`: Iterate over `input_rows_count` where appropriate
2024-07-22 16:43:47 +00:00
Antonio Andelic
1d7fcade72 Fixes 2024-07-22 18:41:28 +02:00
Vitaly Baranov
eb519c5016 Change paths of temporary part directories during RESTORE
use "/var/lib/clickhouse/data/test/table/tmp_restore_all_0_1_1_0-XXXXXXXX"
instead of "/tmp/XXXXXXXX/data/test/table/0_1_1_0"
(because directories can only be renamed in s3_plain_rewritable, and not moved to another parent directory).
2024-07-22 17:14:23 +02:00
Nikita Taranov
c15699e32d
Merge pull request #66652 from ClickHouse/separate_macro_for_debug_or_san_build
Introduce separate DEBUG_OR_SANITIZER_BUILD macro
2024-07-22 14:52:13 +00:00
Robert Schulze
84b446d708
Merge pull request #66831 from rschu1ze/age-overflow
Fix signed integer overflow in function `age`
2024-07-22 14:29:32 +00:00
Alexey Milovidov
23cff0412f Merge branch 'master' into remove-unused-local-variables 2024-07-22 16:24:52 +02:00
Nikita Taranov
f5710beebf fix build 2024-07-22 15:22:31 +01:00
Alexey Milovidov
7f741dd496 Merge branch 'master' into something-strange-with-the-test-about-refreshable-materialized-views 2024-07-22 16:21:53 +02:00
Nikita Taranov
72418f7cff Merge branch 'master' into more_debug_info_for_cgroup_observer 2024-07-22 15:20:24 +01:00
Alexey Milovidov
ffb766d30e
Merge pull request #66818 from ClickHouse/miscellaneous
Miscellaneous
2024-07-22 13:24:21 +00:00
zoomxi
8246614f5e throw if can't connect to any participating replicas 2024-07-22 19:21:24 +08:00
vdimir
846922aeae
Merge pull request #55051 from ClickHouse/vdimir/full_sorting_join_improvements
Suppport ASOF JOIN for full_sorting_merge algorithm
2024-07-22 10:28:46 +00:00
Antonio Andelic
c36dde5103 Fix KeeperMap create after incomplete drop 2024-07-22 12:19:47 +02:00
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