Commit Graph

126378 Commits

Author SHA1 Message Date
Alexander Tokmakov
3e60451ac7 Revert "Merge pull request #54421 from evillique/cluster-groups"
This reverts commit 211c80e1a0, reversing
changes made to b53a98217c.
2023-10-13 18:55:51 +02:00
Alexander Tokmakov
83daf766c9 Revert "Merge pull request #55587 from azat/fix-replica-group"
This reverts commit ebfad5c8b8, reversing
changes made to e64abfc557.
2023-10-13 18:55:22 +02:00
robot-ch-test-poll2
0de0799439
Merge pull request #55584 from grant88/patch-3
Update Russian version replacingmergetree.md. Added is_deleted parameter description
2023-10-13 18:38:14 +02:00
Alexander Tokmakov
e3e105d154
Merge pull request #55527 from azat/values-eof-check-fix
Fix checking of non handled data for Values format
2023-10-13 18:07:02 +02:00
Alexander Tokmakov
f95b0eb553
Merge pull request #54828 from canhld94/ddl_worker_host_cache
Caching skip-able entries in DDLWorker
2023-10-13 17:34:15 +02:00
Alexander Tokmakov
e40aa72883
Merge pull request #54826 from JackyWoo/lb_nearest_host_name
Add load balancing hostname_levenshtein_distance
2023-10-13 17:23:02 +02:00
Robert Schulze
d02a718076
Merge pull request #55211 from Priyansh121096/master
Add function byteSwap
2023-10-13 16:54:28 +02:00
Robert Schulze
c814d8b39d
Merge pull request #55601 from rschu1ze/qc-docs
Minor doc update
2023-10-13 16:25:03 +02:00
Robert Schulze
2653ace122
Update docs 2023-10-13 13:53:39 +00:00
grantovsky
52480fe092
Update replacingmergetree.md remove simultaneously word
correct: remove simultaneously word of using FINAL CLEANUP and  clean_deleted_rows
2023-10-13 15:36:34 +03:00
Mikhail f. Shiryaev
7d3e5c480e
Merge pull request #55592 from ClickHouse/catch-remove-label
Do not fail if label-to-remove does not exists in PR
2023-10-13 14:04:37 +02:00
grantovsky
8b7e6adc38
Update replacingmergetree.md cleanup+clean_deleted_rows warning
Добавил формулировку, что CLEANUP + clean_deleted_rows=always - не следует использовать
2023-10-13 15:03:36 +03:00
Mikhail f. Shiryaev
e60983f5ae
Do not fail if label-to-remove does not exists in PR 2023-10-13 13:32:56 +02:00
Alexander Tokmakov
ebfad5c8b8
Merge pull request #55587 from azat/fix-replica-group
Fix replica groups for Replicated database engine
2023-10-13 13:07:28 +02:00
Azat Khuzhin
db1b9408f3 Fix replica groups for Replicated database engine
Should fix 02447_drop_database_replica test

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-13 12:32:17 +02:00
vdimir
e64abfc557
Merge pull request #49555 from ClickHouse/vdimir/analyzer_fix_join_tests
Fixing join tests with analyzer
2023-10-13 12:29:58 +02:00
grantovsky
4bf3c4156e
Update Russian version replacingmergetree.md. dded is_deleted parameter description
Added is_deleted parameter description for russian documentaion version
2023-10-13 12:07:25 +03:00
Alexey Milovidov
8a1363bcf1
Merge pull request #49486 from bigo-sg/test_hive_null_as_default
Set defaults_for_omitted_fields to true for hive text format
2023-10-13 02:01:09 +02:00
Jihyuk Bok
3c6ddb5e15
Add backward compatibility on the obsoleted storage configuration (#55557)
* add backward compatibility on the deleted storage configuration

* update the reference file
2023-10-13 00:37:55 +02:00
robot-ch-test-poll3
3bb141cd51
Merge pull request #55570 from ClickHouse/docs-datetime-functions
Add syntax and examples to docs of date/time functions
2023-10-12 22:28:03 +02:00
rfraposa
c066f6044d Add syntax and examples to docs of date/time functions 2023-10-12 11:24:57 -06:00
Alexey Milovidov
b60726e6ce
Merge pull request #55486 from Ryado/patch-4
Update mysql.md - Remove the Private Preview Note
2023-10-12 19:12:15 +02:00
robot-clickhouse-ci-1
211c80e1a0
Merge pull request #54421 from evillique/cluster-groups
Add replica groups to Replicated database engine
2023-10-12 18:14:42 +02:00
Alexey Milovidov
b53a98217c
Merge pull request #55489 from kitaisreal/external-aggregation-improve-performance
Improve performance of external aggregation with a lot of temporary files
2023-10-12 18:00:41 +02:00
Alexey Milovidov
e48fad0e24
Merge pull request #55495 from kitaisreal/aggregating-transform-init-generate-race-condition-fix
AggregatingTransform initGenerate race condition fix
2023-10-12 17:54:36 +02:00
Alexander Tokmakov
4c06f79f3a
Update src/Common/NamePrompter.h 2023-10-12 17:30:01 +02:00
robot-clickhouse-ci-2
299845b422
Merge pull request #55553 from ClickHouse/another-promise-fix-3
Avoid setting same promise twice
2023-10-12 17:29:01 +02:00
Nikolay Degterinsky
20e16be27b Fixes & improvements 2023-10-12 15:02:08 +00:00
Nikita Mikhaylov
81bbb0fce1
Improve merge selecting algorithm for big partitions (#55526)
Improved overall resilience for ClickHouse in case of many parts within partition (more than 1000). It might reduce the number of TOO_MANY_PARTS errors.
2023-10-12 17:00:25 +02:00
Nikita Mikhaylov
a2ee30707d
Better error message in case when merge selecting task failed (#55554) 2023-10-12 16:59:03 +02:00
Han Fei
54fb9a836e
Merge pull request #55503 from hanfei1991/hanfei/fix-export-logs-structure-mismatch
fix lots of 'Structure does not match' warnings in ci
2023-10-12 16:15:00 +02:00
Azat Khuzhin
fd16e52164 Update 00626_replace_partition_from_table_zookeeper to avoid using comments after semicolon
It does not have multiquery, so better to use shell comments

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-12 14:57:03 +02:00
Azat Khuzhin
2cbb069b68 Add ability to ignore data after semicolon in Values format
This is required for client, to handle comments in multiquery mode.

v0: separate context for input format
v2: cannot use separate context since params and stuff are changed in global context
v3: do not sent this setting to the server (breaks queries for readonly profiles)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-12 14:55:26 +02:00
Robert Schulze
332a0cfa24
Merge pull request #55529 from ucasfl/invert
Forbid create inverted index if setting not enabled
2023-10-12 14:40:58 +02:00
Han Fei
9ab9075c2b update again 2023-10-12 13:59:33 +02:00
robot-clickhouse-ci-1
1905c44a33
Merge pull request #55550 from ClickHouse/tavplubix-patch-9
Update table.md
2023-10-12 13:21:07 +02:00
Antonio Andelic
22f5d6d708 Reset promise_to_build 2023-10-12 10:57:21 +00:00
Alexander Tokmakov
6dbc224fc7
Update table.md 2023-10-12 12:50:05 +02:00
vdimir
3aac663bd2
fix 2023-10-12 10:46:58 +00:00
vdimir
ef989fdb2e
Revert "Fix 01062_pm_all_join_with_block_continuation"
This reverts commit 88865ace8efb3c10307ddce088a7c44ebb7009fd.
2023-10-12 10:45:58 +00:00
vdimir
dcdcdc5a86
fix style check 2023-10-12 10:45:57 +00:00
vdimir
94fa777b8d
Fix 01890_materialized_distributed_join
Function getHeaderForProcessingStage handle join on top of query tree
2023-10-12 10:45:57 +00:00
vdimir
84e838d038
Fix 02382_join_and_filtering_set
Copy missing corresponding code from Interpreter, adjust test (removed
with cube)
2023-10-12 10:45:56 +00:00
vdimir
16eeec69bf
Fix 02000_join_on_const 2023-10-12 10:45:56 +00:00
vdimir
fcb116ad4f
Fix 01062_pm_all_join_with_block_continuation
Fixed test file, JOIN using alias from external scope
2023-10-12 10:45:56 +00:00
vdimir
624f38633c
Fix 01721_join_implicit_cast_long 2023-10-12 10:45:55 +00:00
vdimir
a799d4ec62
Fix 01049_join_low_card_bug_long 2023-10-12 10:45:55 +00:00
Azat Khuzhin
a5cced2b9e Move comment into correct place
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-12 12:25:08 +02:00
Azat Khuzhin
f379d9cac5 Fix checking of non handled data for Values format
PeekableReadBuffer::hasUnreadData() does not checks the underlying
buffer, and so it simply ignore some issues, like:

    INSERT INTO test_01179_str values ('foo'); ('bar')

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-12 12:25:08 +02:00
vdimir
5bc6642b57
Merge pull request #55480 from myrrc/fix/s3-remove-stale-parts
Remove existing moving/ dir if allow_remove_stale_moving_parts is off
2023-10-12 12:00:30 +02:00