Commit Graph

126553 Commits

Author SHA1 Message Date
Konstantin Bogdanov
d38e75e358
Add a test case for param_-prefixed parameters for predefined query handlers 2023-10-17 00:14:20 +02:00
Konstantin Bogdanov
cf1c2a667e
Add a negative test case for query handler 2023-10-17 00:14:20 +02:00
Konstantin Bogdanov
065db21c75
Update URI filter for query HTTP handler 2023-10-17 00:14:20 +02:00
Konstantin Bogdanov
3374568ad0
Register default HTTP handlers as the last ones due to aggressive handler matching for /query endpoint 2023-10-17 00:14:20 +02:00
Konstantin Bogdanov
ab2d20a4b6
Sync query parameter parsing logic between PredefinedQueryHandler and DynamicQueryHandler 2023-10-17 00:14:20 +02:00
Konstantin Bogdanov
4ca27bdb7b
Add URI filter for /query handler 2023-10-17 00:14:04 +02:00
robot-clickhouse
89eed73fb9
Merge pull request #55519 from azat/zk-retry-fix
Avoid retrying keeper operations on INSERT after table shutdown
2023-10-16 23:32:13 +02:00
alesapin
5afabe7d59
Merge pull request #55694 from ClickHouse/revert-55476-ci_scripts_tuning
Revert "Integration  check script fix ups"
2023-10-16 22:07:50 +02:00
alesapin
67b9407530
Revert "Integration check script fix ups" 2023-10-16 22:01:44 +02:00
robot-ch-test-poll1
aca98cf725
Merge pull request #53774 from helifu/master13
Display reloaded values of server settings
2023-10-16 21:17:17 +02:00
alesapin
88ac44d595
Merge pull request #55590 from Algunenano/unused_protobuf
Remove unused protobuf includes
2023-10-16 18:43:24 +02:00
Jiebin Sun
df17cd467b
Release more num_streams if data is small (#53867)
* Release more num_streams if data is small

Besides the sum_marks and min_marks_for_concurrent_read, we could also involve the
system cores to get the num_streams if the data is small. Increasing the num_streams
and decreasing the min_marks_for_concurrent_read would improve the parallel performance
if the system has plentiful cores.

Test the patch on 2x80 vCPUs system. Q39 of clickbench has got 3.3x performance improvement.
Q36 has got 2.6x performance improvement. The overall geomean has got 9% gain.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>

* Release more num_streams if data is small
Change the min marks from 4 to 8 as the profit is small and 8 granules
is the default block size.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>

---------

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-10-16 18:41:38 +02:00
Kruglov Pavel
cbdb62d389
Merge pull request #55666 from ClickHouse/Avogar-patch-1
Fix progress bar for s3 and azure Cluster functions with url without globs
2023-10-16 18:25:00 +02:00
Vlad Seliverstov
d9ed5e2e94
Pretty op processors IDs in EXPLAIN PIPELINE graph = 1 output (#48852)
* Prettify IDs op processors

* bump

* don't use static map

---------

Co-authored-by: Vlad Seliverstov <behemot@clickhouse.com>
2023-10-16 18:11:01 +02:00
Alexey Milovidov
f6dee5fe3c
Merge pull request #55682 from ClickHouse/revert-35961-decimal-column-improve-get-permutation
Revert "Improve ColumnDecimal, ColumnVector getPermutation performance using pdqsort with RadixSort"
2023-10-16 18:07:46 +02:00
Alexey Milovidov
2da1ff4b0d
Revert "Improve ColumnDecimal, ColumnVector getPermutation performance using pdqsort with RadixSort" 2023-10-16 19:07:11 +03:00
Mikhail f. Shiryaev
f96bda1deb
Merge pull request #55476 from ClickHouse/ci_scripts_tuning
Integration  check script fix ups
2023-10-16 17:06:19 +02:00
Max Kainov
4d1edc2780 return back unidiff module 2023-10-16 15:00:13 +00:00
Igor Nikonov
6abd1a6462
Merge branch 'master' into zk-retry-fix 2023-10-16 16:56:07 +02:00
János Benjamin Antal
eeff98f3a3
Merge pull request #55373 from lingtaolf/enhancement/rename_without_keyword
Support rename table without keyword TABLE
2023-10-16 14:06:23 +02:00
Raúl Marín
478f635d60
Merge pull request #53792 from ClickHouse/revert-53782-revert-52762-planner-prepare-filters-for-analysis
Revert "Revert "Planner prepare filters for analysis""
2023-10-16 13:21:54 +02:00
Mikhail f. Shiryaev
a4fb143413
Merge pull request #50724 from AlexNik/docker-initialization-once
Initialization of the database only once in Docker.
2023-10-16 13:12:17 +02:00
helifu
dc0f8ed793 Add a new column 'is_hot_reloadable' to indicate whether hot loading is supported 2023-10-16 19:10:35 +08:00
Kruglov Pavel
6dcc756948
Fix for azure 2023-10-16 12:38:55 +02:00
Kruglov Pavel
836e35b6c4
Fix progress bar for s3 and azure Cluster functions with url without globs 2023-10-16 12:38:10 +02:00
Max Kainov
683437c61c fix docs and script 2023-10-16 10:35:14 +00:00
Max Kainov
b0b6e7fd47 fix docs 2023-10-16 10:35:14 +00:00
Max Kainov
60ad1c79bd fix docs 2023-10-16 10:35:14 +00:00
robot-clickhouse
7c2fee3280 Automatic style fix 2023-10-16 10:35:14 +00:00
Max Kainov
3f3fcce7e5 gh api request func update 2023-10-16 10:35:14 +00:00
Mikhail f. Shiryaev
c5ebd6f072 Use requests.gte in get_gh_api 2023-10-16 10:35:14 +00:00
Mikhail f. Shiryaev
346e8a0162 Remove recursion in favor of reset retry loop 2023-10-16 10:35:14 +00:00
Max Kainov
f1c316b79b ci script to use git hub api urls, readme for test 2023-10-16 10:35:13 +00:00
alesapin
8449e4c7b7
Merge pull request #55577 from ClickHouse/fix_max_execution_time_and_break_mode
Fix max execution time and 'break' overflow mode
2023-10-16 12:24:15 +02:00
Raúl Marín
4b62ff4ceb Merge remote-tracking branch 'blessed/master' into unused_protobuf 2023-10-16 11:59:38 +02:00
Kseniia Sumarokova
a4bd6891e1
Merge pull request #55164 from ClickHouse/vdimir/fix_file_cache_tmp_write_buffer
Fix file cache temporary file segment range in FileSegment::reserve
2023-10-16 11:44:46 +02:00
Antonio Andelic
6c543c730b
Merge pull request #55657 from ClickHouse/revert-55418-fix-OR
Revert "Fix filtering by virtual columns with OR filter in query"
2023-10-16 10:51:06 +02:00
alesapin
697c1e3bb0
Merge pull request #55604 from ClickHouse/evillique-partition-parameters
Implement query paramenters support in partition expression
2023-10-16 10:26:02 +02:00
Antonio Andelic
fb901c24a1
Revert "Fix filtering by virtual columns with OR filter in query" 2023-10-16 09:45:49 +02:00
Robert Schulze
f7cf512824
Merge pull request #55589 from rschu1ze/string-args-in-week-functions
MySQL compatibility: `toDayOfWeek()` now supports string arguments
2023-10-16 09:07:01 +02:00
Antonio Andelic
a3360cb3f5
Merge pull request #55485 from guoxiaolongzte/keeper_client_add_get_all_children_number_command
keeper_client add get_all_children_number command
2023-10-16 08:45:38 +02:00
Antonio Andelic
b6b92f46cc
Merge pull request #55541 from ClickHouse/sample-segfault
Better exception messages but without SEGFAULT
2023-10-16 08:43:52 +02:00
Antonio Andelic
c69838e052
Merge pull request #55591 from ClickHouse/fix-keeper-context
Apply Context changes to standalone Keeper
2023-10-16 08:41:17 +02:00
Alexey Milovidov
6d16a85364
Merge pull request #55648 from ClickHouse/reimplement-55639
Show move/maximize only if there is more than a single chart
2023-10-16 05:00:16 +02:00
Alexey Milovidov
95be5c7c07 Show move/maximize only if there is more than a single chart 2023-10-16 04:57:42 +02:00
guoxiaolong
98af58d7cf fix test error 2023-10-16 10:02:31 +08:00
alesapin
8a865cdfb2
Merge pull request #55646 from ClickHouse/fix_some_typos
Fix some typos
2023-10-15 18:28:33 +02:00
Alexey Milovidov
0f89b4aad6
Merge pull request #55640 from ClickHouse/preparation-key-condition-2
KeyCondition: small changes
2023-10-15 18:23:53 +02:00
alesapin
3b02748cb6 Fix some typos 2023-10-15 15:43:02 +02:00
Kseniia Sumarokova
0cab773e7b
Merge pull request #55564 from kssenii/add-test-toast
Add a test
2023-10-15 14:12:57 +02:00