Azat Khuzhin
c830964240
Cover distributed_push_down_limit for queries w/o sharding expr
2021-08-02 21:04:30 +03:00
Azat Khuzhin
2fb95d9ee0
Rework SELECT from Distributed query stages optimization
...
Before this patch it wasn't possible to optimize simple SELECT * FROM
dist ORDER BY (w/o GROUP BY and DISTINCT) to more optimal stage
(QueryProcessingStage::WithMergeableStateAfterAggregationAndLimit),
since that code was under
allow_nondeterministic_optimize_skip_unused_shards, rework it and make
it possible.
Also now distributed_push_down_limit is respected for
optimize_distributed_group_by_sharding_key.
Next step will be to enable distributed_push_down_limit by default.
v2: fix detection of aggregates
2021-08-02 21:04:29 +03:00
Nikolai Kochetov
d63a5e1c96
Merge pull request #26675 from Algunenano/kill_better
...
Handle KILL requests while running pipeline executors
2021-08-02 17:37:54 +03:00
Nikolai Kochetov
6951e8147d
Merge pull request #27020 from amosbird/shardlevelconstness
...
Shard-level const column
2021-08-02 13:45:20 +03:00
Maksim Kita
1f1795a305
Merge pull request #26978 from Algunenano/improve_executable_dictionary
...
01674_executable_dictionary_implicit_key: executable_dictionary: Use printf
2021-08-02 12:54:08 +03:00
alesapin
181f93c60a
Merge pull request #24997 from evillique/nlp
...
NLP functions
2021-08-02 10:50:40 +03:00
alexey-milovidov
d9f55a3f31
Merge pull request #27040 from vzakaznikov/reenable_testflows_rbac
...
Moving to TestFlows 1.7.20 that has native support for parallel tests.
2021-08-01 10:57:09 +03:00
Vitaliy Zakaznikov
bd1e2eda47
Moving to TestFlows 1.7.20 that has native support for parallel tests.
2021-07-31 15:50:27 -04:00
Alexey Milovidov
7fa24539b8
Make test 01852_cast_operator independent of timezone
2021-07-31 21:24:23 +03:00
Amos Bird
c38403998e
Fix flaky
2021-07-31 23:00:10 +08:00
Amos Bird
c03b20d1a1
Fix
2021-07-31 17:02:33 +08:00
Amos Bird
479d4fa991
Add shardNum() and shardCount() functions
2021-07-31 15:45:39 +08:00
Vitaly Baranov
99929981ab
Merge pull request #25687 from MaxWk/profile-default-database
...
add setting profile_default_database
2021-07-31 08:37:02 +03:00
alexey-milovidov
71d20659c9
Merge pull request #27007 from ClickHouse/tavplubix-patch-2-1
...
Set insert_quorum_timeout to 1 minute for tests.
2021-07-31 04:55:00 +03:00
alexey-milovidov
d2b7e23899
Merge pull request #26961 from Enmk/fix/extractAllGroupsHorizontal_max_matches_per_row
...
Updated extractAllGroupsHorizontal - flexible limit on number of matches
2021-07-31 04:54:24 +03:00
alexey-milovidov
c74f5feaaf
Merge pull request #27028 from Algunenano/flaky_01006
...
Improve 01006_simpod_empty_part_single_column_write
2021-07-31 04:53:39 +03:00
alexey-milovidov
7e5f25ea92
Merge pull request #27026 from excitoon-favorites/runner
...
Improved `runner` to use `pytest` keyword expressions
2021-07-31 00:09:07 +03:00
mergify[bot]
1d4e2564bc
Merge branch 'master' into improve_executable_dictionary
2021-07-30 16:45:39 +00:00
alexey-milovidov
f17b5debfb
Merge pull request #27023 from Algunenano/flaky_drop_create_merge
...
Attempt to fix flaky 00705_drop_create_merge_tree
2021-07-30 19:45:22 +03:00
alesapin
02176fb4c7
Add experimental flag
2021-07-30 18:25:51 +03:00
Raúl Marín
1f3c8387a3
01006_simpod_empty_part_single_column_write: Use sync mutation instead of waiting
2021-07-30 15:53:33 +02:00
alesapin
acc4e9e79d
Merge remote-tracking branch 'evillique/nlp' into evillique-nlp
2021-07-30 16:46:58 +03:00
Raúl Marín
be126cbbc5
Improve wait_for_mutation check
...
Fast return if there isn't any mutation (it's likely it has finished already)
2021-07-30 15:36:51 +02:00
Vladimir Chebotarev
1cf4da2df7
Improved runner
to use pytest
keyword expressions.
2021-07-30 15:59:27 +03:00
Raúl Marín
f0ff9af332
Attempt to fix flaky 00705_drop_create_merge_tree
2021-07-30 13:40:49 +02:00
alesapin
66e675e54e
Merge pull request #26897 from qoega/test_distributed_respect_user_timeouts-tune
...
Try increase diff upper bound
2021-07-30 14:28:54 +03:00
Amos Bird
7b9e81742f
Shard level constness
2021-07-30 18:53:34 +08:00
Alexander Kuzmenkov
4b9cf024f5
Merge pull request #26960 from ClickHouse/aku/window-partition-boundary
...
fix window function partition boundary search
2021-07-30 13:25:54 +03:00
alesapin
916594fe23
Merge branch 'master' into evillique-nlp
2021-07-30 13:03:10 +03:00
Maksim Kita
5666cf5fee
Merge pull request #27008 from Algunenano/adjust_00537_quarters
...
Adjust 00537_quarters to be timezone independent
2021-07-30 12:54:51 +03:00
Vasily Nemkov
a1fb16df52
setting regexp_max_matches_per_row instead of 3rd argument
2021-07-30 12:28:21 +03:00
Raúl Marín
4106d4bc21
Adjust 00537_quarters to be timezone independent
2021-07-30 11:14:07 +02:00
PHO
6425dd001a
Add a codec AES_128_GCM_SIV for encrypting columns on disk ( #19896 )
...
* Add a codec Encrypted() for encrypting columns on disk
While this is implemented as a compression codec, it does not actually compress data. It instead encrypts data on disk. The key is obtained by executing a user-specified command at the server startup, or if it's not specified the codec refuses to process any data. For now the only supported cipher is 'AES-128-GCM-SIV'.
2021-07-30 12:12:33 +03:00
tavplubix
5a526ed078
Update timeouts.xml
2021-07-30 12:02:13 +03:00
alesapin
cae5502d51
Merge pull request #26963 from ClickHouse/fix_bad_partition_id
...
Add simple validation for partition id before drop partition
2021-07-30 11:21:28 +03:00
alexey-milovidov
99849f94c0
Merge pull request #26959 from ClickHouse/fix_stress_client_options
...
Fix client options in stress test
2021-07-30 08:49:34 +03:00
alexey-milovidov
4545fa15f7
Merge pull request #26975 from Algunenano/fix_quota_test
...
Fix 01600_quota_by_forwarded_ip
2021-07-30 08:45:05 +03:00
Maksim Kita
c5349f6d8c
Merge pull request #26901 from Algunenano/fix_client_secure
...
Tests: Fix CLICKHOUSE_CLIENT_SECURE with the default config
2021-07-29 21:43:42 +03:00
Raúl Marín
b4cd34b5fb
Make the test parallelizable
2021-07-29 20:01:57 +02:00
Raúl Marín
8f8df8bf7b
Test with printf instead
2021-07-29 19:22:57 +02:00
Raúl Marín
89a26f6d84
executable_dictionary: Use echo -e
2021-07-29 18:29:21 +02:00
Raúl Marín
ee4759ce86
Fix 01600_quota_by_forwarded_ip
...
The test was assuming clickhouse-local and curl would connect using the same address
2021-07-29 17:47:16 +02:00
tavplubix
c18c16855a
Merge pull request #26913 from PolyProgrammist/table-function-cluster-macros
...
Supported cluster macros inside table function 'cluster'
2021-07-29 18:43:36 +03:00
tavplubix
8aa5df7ceb
Update 01154_move_partition_long.sh
2021-07-29 16:40:33 +03:00
alesapin
21599ffefc
Simple validation for partition id before drop partition
2021-07-29 16:11:05 +03:00
Alexander Kuzmenkov
55e1d1b592
the reference was correct after all, I just confused the sides of the
...
diff
2021-07-29 15:49:37 +03:00
Vasily Nemkov
ec77ba8bfc
Updated extractAllGroupsHorizontal - flexible limit on number of matches per row.
...
If it is not set via third argument, it deafults to previously hardcoded
value 1000.
2021-07-29 15:36:55 +03:00
alesapin
bb77342606
Add test
2021-07-29 15:33:28 +03:00
Alexander Kuzmenkov
7c9467d7a7
fix window function partition boundary search
...
It was horribly broken and many test references were wrong. I'm
surprised I never noticed this.
2021-07-29 15:18:10 +03:00
Alexander Tokmakov
381634960e
fix client options in stress test
2021-07-29 15:16:34 +03:00