Commit Graph

126551 Commits

Author SHA1 Message Date
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
kssenii
ed520baa06 Fix black check 2023-10-12 19:42:09 +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
kssenii
049db971e6 Add a test 2023-10-12 17:59:00 +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
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