Commit Graph

126636 Commits

Author SHA1 Message Date
Robert Schulze
593c3114a1
Remove TODO comment 2023-10-13 13:24:26 +00:00
Robert Schulze
1957179058
Make the warning in the docs more strict 2023-10-13 13:21:38 +00:00
Alexander Gololobov
1d7f04208f Throw TOO_SLOW error only when overflow mode is 'throw' 2023-10-13 15:21:00 +02:00
Alexander Gololobov
de62095b98 Test for query success with 'break' mode and timeout > 10 sec 2023-10-13 15:21:00 +02:00
Raúl Marín
b9f8f2fc15 Apply clang-format to the changes 2023-10-13 15:13:45 +02:00
Raúl Marín
e70b7dd3b7 Remove unused protobuf includes 2023-10-13 15:13:45 +02:00
Antonio Andelic
a83ebb1862 Merge branch 'master' into sample-segfault 2023-10-13 12:53:32 +00:00
Han Fei
e3ceca06e0 cast extra column expression pull_request_number to Int32 2023-10-13 14:52:25 +02: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
Azat Khuzhin
f42cc282ec Do not include headers from tests into client
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-13 13:44:30 +02:00
Azat Khuzhin
720ea8441c Fix global context for tests with --gtest_filter
If you run tests that requires context, but do not initialize it, then
it will SIGSEGV, because Context is not initialized.

Fix this by using google test envrionment, and instead of gtest_main
implement own main function that will initialize it.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-13 13:44:30 +02: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
Antonio Andelic
48933f52fe Fix Keeper Context 2023-10-13 11:30:37 +00:00
Robert Schulze
dda673f58b
Merge remote-tracking branch 'rschu1ze/master' into string-args-in-week-functions 2023-10-13 11:16:03 +00: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
Robert Schulze
bb0ff98f5e
String argument support for toDayOfWeek(), toWeek() and toYearWeek() 2023-10-13 10:30:37 +00: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
kssenii
b13147cd8b Ping CI 2023-10-13 12:07:32 +02:00
Robert Schulze
af911dd186
Refactorings 2023-10-13 09:48:32 +00: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
Antonio Andelic
1de89a211b Fix for analyzer 2023-10-13 07:56:46 +00:00
bhavuk2002
c4f604dad2 files which were i working on were also commited removed them 2023-10-13 11:03:16 +05:30
bhavuk2002
1deb830dab updated dashboard.html 2023-10-13 10:57:33 +05:30
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
34915a8a5e Fix black check 2023-10-12 19:47:39 +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
kssenii
1917a882b7 Better 2023-10-12 16:36:19 +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