Commit Graph

126627 Commits

Author SHA1 Message Date
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
42dc61abf5 Merge branch 'master' into hanfei/statistic 2023-10-12 16:19:45 +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
Antonio Andelic
470c858f21
Update src/Interpreters/InterpreterSelectQuery.cpp 2023-10-12 16:06:00 +02:00
guoxiaolong
7d5c15dfc9 fix python CheckSytel 2023-10-12 22:01:37 +08:00
János Benjamin Antal
e646fb7613 Remove executable flag 2023-10-12 13:42:02 +00:00
guoxiaolong
369ebf3c4f fix CheckSytel 2023-10-12 21:15:52 +08: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
guoxiaolong
6e927325e4 fix CheckSytel 2023-10-12 20:32:36 +08: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
János Benjamin Antal
2fd2352add Use SQL test 2023-10-12 09:52:06 +00:00
Antonio Andelic
5d5d4a8443 Check if storage is nullptr 2023-10-12 09:50:04 +00:00
robot-clickhouse-ci-2
2eedb31ae3
Merge pull request #55498 from bytadaniel/patch-4
add npm packages to both en and zh docs from ru
2023-10-12 11:31:24 +02:00
flynn
a97ce4cbfc update test 2023-10-12 09:15:54 +00:00
robot-clickhouse-ci-1
c40a79f0b4
Merge pull request #54813 from lingtaolf/feature/function-getClientHttpHeader
Add function getHttpHeader
2023-10-12 10:13:20 +02:00
凌涛
ca6975a265
Delete tests/queries/0_stateless/02891_rename_table_without_keyword.sql 2023-10-12 14:25:45 +08:00
凌涛
89d123d0fd modify doc 2023-10-12 14:24:59 +08:00
凌涛
4499dd3e2f modify style 2023-10-12 14:21:20 +08:00
Kruglov Pavel
453de30ad6
Destroy fiber in case of exception in cancelBefore in AsyncTaskExecutor (#55516)
* Destroy fiber in case of exception in cancelBefore in AsyncTaskExecutor

* Update AsyncTaskExecutor.cpp

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-10-11 21:04:43 -07:00
flynn
268ea30c41 Forbid create inverted index if setting not enabled 2023-10-12 03:50:55 +00:00
taiyang-li
7cd24d0af0 solve conflicts 2023-10-12 10:30:05 +08:00
JackyWoo
1f553f3d65 Merge branch 'master' into lb_nearest_host_name 2023-10-12 10:19:17 +08:00
guoxiaolong
8b47bf5e7e fix CheckSytel 2023-10-12 09:58:42 +08:00
robot-ch-test-poll
749412bfeb
Merge pull request #55523 from myrrc/nfc/kst-to-contrib
add k-morozov to trusted contributors
2023-10-12 01:03:37 +02:00
Robert Schulze
7b14392675
Merge pull request #55481 from rschu1ze/better-use-mysql-types-in-show-columns
Make `use_mysql_types_in_show_columns` affect only `SHOW COLUMNS`
2023-10-12 00:36:46 +02:00
Michael Kolupaev
30fd4bee84
Fix stack symbolizer parsing DW_FORM_ref_addr incorrectly and sometimes crashing (#55483) 2023-10-11 15:27:16 -07:00
Igor Nikonov
5a830834fe
Merge pull request #55515 from ClickHouse/pr-coordinator-usage-cleanup
Cleanup: parallel replica coordinator usage
2023-10-11 23:43:51 +02:00
Han Fei
360ec55c7a update table ash 2023-10-11 23:30:38 +02:00
robot-ch-test-poll
81464ca724
Merge pull request #55524 from ClickHouse/tavplubix-patch-9
Remove a confusing line from docs
2023-10-11 21:40:26 +02:00