Commit Graph

126587 Commits

Author SHA1 Message Date
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
alesapin
3f6d1414d3
Merge pull request #55196 from xjtupdy/doc-fix-ClickHouse
edit wrong example in en doc
2023-10-11 20:34:13 +02:00
Alexander Tokmakov
eeacdbae9c
Update replacingmergetree.md 2023-10-11 19:46:58 +02:00
Daniel Byta
e3719f88b2
Update aspell-dict.txt 2023-10-11 20:42:49 +03:00
Alexey Milovidov
0af565df86
Merge pull request #55497 from kitaisreal/hash-table-resize-exception-handle-fix
HashTable resize exception handle fix
2023-10-11 19:40:02 +02:00
Alexey Milovidov
8f54123901
Update pr.py 2023-10-11 20:38:37 +03:00
Alexey Milovidov
f4ccf9f94f
Update pr.py 2023-10-11 20:38:19 +03:00
Alexey Milovidov
c04a33a70a
Update pr.py 2023-10-11 20:38:01 +03:00
Mike Kot
125250b4fd add k-morozov to trusted 2023-10-11 17:25:54 +00:00
Azat Khuzhin
47ff13056f Avoid retrying keeper operations on INSERT after table shutdown
Also note, that it should check shutdown_prepared_called, instead of
shutdown_called, since shutdown of the database/server firstly calls
flushAndPrepareForShutdown() for every storage. And if you have Buffer
table that writes to your ReplicatedMergeTree it will not be finished
until all retries will be made.

Otherwise it can take significantly long time to finish.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-11 18:25:43 +02:00
alesapin
fc1ad9a969
Update docs/en/sql-reference/functions/arithmetic-functions.md 2023-10-11 18:24:44 +02:00
alesapin
a150ec53c0
Update arithmetic-functions.md 2023-10-11 18:24:24 +02:00