Commit Graph

112496 Commits

Author SHA1 Message Date
Smita Kulkarni
74c6ca558b Removed line from test_disallow_concurrrency for CI checks 2023-04-14 18:03:46 +02:00
Smita Kulkarni
d4b2297e9f Fixed comment 2023-04-13 09:53:39 +02:00
SmitaRKulkarni
6568c330c5
Merge branch 'master' into Follow_up_Backup_Restore_concurrency_check_node_2 2023-04-13 09:46:36 +02:00
Sergei Trifonov
86d37916a0
Merge pull request #48146 from azat/threadpool-pipeline-executor
Use ThreadPool in PipelineExecutor
2023-04-13 09:45:15 +02:00
Antonio Andelic
1f7cca6439
Merge pull request #48699 from ClickHouse/fix-flaky-keeper-session
Fix flaky `test_keeper_session`
2023-04-13 09:44:46 +02:00
Alexander Tokmakov
c450d72b32
Merge pull request #48732 from ClickHouse/revert-48335-check_sample_dict_key_is_correct
Revert "Check simple dictionary key is native unsigned integer"
2023-04-13 01:33:32 +03:00
Alexander Tokmakov
75f18b1198
Revert "Check simple dictionary key is native unsigned integer" 2023-04-13 01:32:19 +03:00
robot-ch-test-poll2
d1793a9bc5
Merge pull request #48692 from ClickHouse/rs/mergetree-syntax
Update MergeTree syntax for optional index granularity argument
2023-04-12 21:35:40 +02:00
Alexey Milovidov
d8568b188a
Merge pull request #48439 from den-crane/testtoFloat64OrNull
test for #16399
2023-04-12 22:11:47 +03:00
Alexey Milovidov
9a3030803e
Merge pull request #48596 from azat/ci/second_deadlock_stack
Add second_deadlock_stack=1 for TSan on CI and fix some lock-order-inversion problems
2023-04-12 22:11:06 +03:00
Alexey Milovidov
83ca36d621
Merge pull request #48614 from ClickHouse/update-hdfs
Update HDFS
2023-04-12 22:10:11 +03:00
Smita Kulkarni
49c95a535a Updated to add error or completed status in zookeeper for a cluster for backup/restore, to avoid interpreting previously failed backup/restore when zookeeper is unable to remove nodes 2023-04-12 20:26:57 +02:00
Azat Khuzhin
37d430d68a Use ThreadPool in PipelineExecutor
PipelineExecutor is one of the heavy user of the threads, by using pool
there number of used threads for query execution can be tracked in
system.metrics.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-12 20:00:51 +02:00
Aleksei Filatov
0a1815b9bb
Add new trusted contributors (#48715)
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-04-12 19:38:05 +02:00
alesapin
8067cfcb51
Merge pull request #46946 from ClickHouse/revert-46909-revert-45911-mutations_rename_hang
Fix several `RENAME COLUMN` bugs
2023-04-12 19:07:48 +02:00
Antonio Andelic
4ed1d6063a
fix 2023-04-12 16:57:25 +02:00
Antonio Andelic
0d6589a126
use sync 2023-04-12 16:56:11 +02:00
Alexander Tokmakov
15081fef32
Merge pull request #48712 from ClickHouse/improve_slack_bot
Better messages formatting in the CI Slack bot
2023-04-12 17:16:11 +03:00
Alexander Tokmakov
5f223f24c6 better messages formatting 2023-04-12 15:50:06 +02:00
Antonio Andelic
c06b757284 Wait for ephemeral node 2023-04-12 12:54:42 +00:00
Anton Popov
1520f3e924
Merge pull request #48335 from lzydmxy/check_sample_dict_key_is_correct
Check simple dictionary key is native unsigned integer
2023-04-12 14:27:39 +02:00
MikhailBurdukov
2cd3512a5d
ClickHouse startup error when loading a distributed table that depends on a dictionary (#48419)
* Test for start failure.

* Handling the dictionary as shard key.

* Added integration test and fixed style

* Revert extra test

* Fix style

* Fix style

* Refactoring

* Fix build

* style fix
2023-04-12 15:06:02 +03:00
Nikolai Kochetov
f66e9c5a26
Merge pull request #48427 from ClickHouse/update_sort_desc_follow_up
Update sort desc: more efficient original node search in ActionsDAG
2023-04-12 13:59:37 +02:00
Nikolay Degterinsky
ff20acf076
Merge pull request #48445 from evillique/array-functions-date-datetime-support
Add support for Date/DateTime datatypes to arrayMin/Max, arrayDifference functions
2023-04-12 13:27:17 +02:00
Robert Schulze
6b441b40dd
Update MergeTree syntax for optional index granularity argument
This is follow up to #45451.
2023-04-12 11:16:55 +00:00
alesapin
8ebad126e2
Merge pull request #48516 from MikhailBurdukov/mburdukov_multi_settings
"changed" flag in system.settings is calculated incorrectly for settings with multiple values
2023-04-12 12:54:50 +02:00
alesapin
f4573d64df Fix test 2023-04-12 12:52:40 +02:00
Kruglov Pavel
aa57cdb5f3
Merge pull request #48670 from azat/fix-lock-order-inversion-for-remote
Remove lock for duplicated parts UUIDs (allow_experimental_query_deduplication=1)
2023-04-12 12:42:12 +02:00
Nikolai Kochetov
bc4755952b
Merge pull request #48405 from ClickHouse/analyzer-additional-filters
Support additional filters in new planner
2023-04-12 12:38:57 +02:00
alesapin
55c3f1ee29
Merge pull request #48666 from ClickHouse/remove_strange_code_from_mutation_task
Remove strange code from MutateTask
2023-04-12 12:38:43 +02:00
Robert Schulze
f619208b86
Merge pull request #48673 from ClickHouse/rs/roundAge
Fix roundAge()
2023-04-12 10:32:04 +02:00
Robert Schulze
9c653197a4
Update roundAge() docs 2023-04-12 08:05:46 +00:00
Robert Schulze
58d98fa21f
Revert "Fix roundAge()"
This reverts commit 38e89b892a.
2023-04-12 07:57:00 +00:00
SmitaRKulkarni
dd64eaed66
Merge pull request #47985 from Algunenano/zk_retry_timeout
Do not continue retrying to connect to ZK if the query is killed or over limits
2023-04-12 08:49:47 +02:00
Dmitry Novik
235ad55bad
Merge branch 'master' into analyzer-additional-filters 2023-04-12 01:13:38 +02:00
Robert Schulze
38e89b892a
Fix roundAge() 2023-04-11 20:31:35 +00:00
alesapin
f91309d83d Fix drop in compact parts 2023-04-11 21:21:42 +02:00
Azat Khuzhin
1d9a785b9b Add missing includes (due to removing ThreadPool.h from PipelineExecutor.h)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-11 20:45:46 +02:00
Azat Khuzhin
d7f8650372 Remove lock for duplicated parts UUIDs (allow_experimental_query_deduplication=1)
It looks redundant, since sendQuery() cannot be executed in parallel
with processPacket() (hence RemoteQueryExecutor::setPartUUIDs())

This likely will fix the lock-order-inversion in RemoteQueryExecutor,
since I think it is false-positive.

Fixes: #48534
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-11 20:19:32 +02:00
alesapin
a72ee0b85e Merge remote-tracking branch 'origin/master' into revert-46909-revert-45911-mutations_rename_hang 2023-04-11 20:14:43 +02:00
Robert Schulze
dcfd843b2d
Merge pull request #48489 from ClickHouse/rs/date_time-alias
Register datediff and trim aliases in system.functions
2023-04-11 19:53:44 +02:00
alesapin
165edd332e Remove strange code from MutateTask 2023-04-11 18:31:53 +02:00
Sergei Trifonov
7c309a0134
Merge branch 'master' into mburdukov_multi_settings 2023-04-11 17:53:43 +02:00
robot-ch-test-poll1
17aecb797c
Merge pull request #48642 from ClickHouse/Avogar-patch-3
Fix flaky test test_drop_replica_and_achieve_quorum
2023-04-11 17:45:53 +02:00
Alexander Tokmakov
1982e2e040
Merge pull request #48662 from hanfei1991/hanfei/refine-expmsg1
fix 02504_regexp_dictionary_table_source
2023-04-11 18:20:10 +03:00
Han Fei
bf28be8837 fix 02504_regexp_dictionary_table_source 2023-04-11 17:07:44 +02:00
Alexander Tokmakov
d85ede23a3
Merge pull request #48610 from azat/tests/fix-log-level
Fix flakiness of test_store_cleanup in case of image rebuild
2023-04-11 17:39:39 +03:00
robot-ch-test-poll
0259ff3726
Merge pull request #48637 from ClickHouse/fix-run-check
Partially revert e0252db8d and fix pr-bugfix labeling
2023-04-11 16:35:13 +02:00
Dmitry Novik
435a0ab9bb Fix a typo 2023-04-11 14:13:37 +00:00
Dan Roscigno
afdd1f696d
Merge pull request #48601 from gingerwizard/mar_blog_refs
update blog references
2023-04-11 10:13:29 -04:00