Commit Graph

37886 Commits

Author SHA1 Message Date
Nikolai Kochetov
dadf4b2b0e
Update CHANGELOG.md 2020-03-24 13:55:29 +03:00
Nikolai Kochetov
67ed4d4cc3 Update weak hash. 2020-03-24 13:02:09 +03:00
Azat Khuzhin
b8614de64a Fix DISTINCT for Distributed and optimize_skip_unused_shards
In case of optimize_skip_unused_shards the getQueryProcessingStage() can
return QueryProcessingStage::WithMergeableState because the whole
cluster has multiple nodes, but optimize_skip_unused_shards can trim it
to 1 and in this case we need final merge that won't be done with
QueryProcessingStage::WithMergeableState only with
QueryProcessingStage::Complete.
2020-03-24 11:07:09 +03:00
Azat Khuzhin
0e925ff7ad Cover DISTINCT for Distributed with one shard (test from #9046)
v2: cover case when getQueryProcessingStage() returns Complete when it
should not (pointed by @alexey-milovidov in
https://github.com/ClickHouse/ClickHouse/pull/9808#issuecomment-602291996)
2020-03-24 11:07:09 +03:00
Vitaly Baranov
4576cf198e Fix calculating grants for introspection functions from the setting 'allow_introspection_functions'. 2020-03-24 11:03:09 +03:00
Azat Khuzhin
4707dd827a StorageDistributed: cleanup skipping unused shards 2020-03-24 10:58:34 +03:00
Azat Khuzhin
66ccbf5d11 Pass query to the IStorage::getQueryProcessingStage()
Will be used to return correct stage with optimize_skip_unused_shards.
2020-03-24 10:58:16 +03:00
alexey-milovidov
df19d6aac1
Merge pull request #9622 from PerformanceVision/dictionary_status
Bring dictionary status on native prometheus exporter
2020-03-24 09:44:01 +03:00
alexey-milovidov
c762a42f4b
Merge pull request #9815 from ClickHouse/taiyang-li-pr_add_auc
Merging arrayAUC
2020-03-24 09:36:13 +03:00
alexey-milovidov
25cf827365
Merge pull request #9759 from Vxider/distributed_insert_select
Distributed INSERT SELECT
2020-03-24 09:34:44 +03:00
alexey-milovidov
9f72c28035
Update InterpreterInsertQuery.cpp 2020-03-24 09:34:01 +03:00
alexey-milovidov
9a2760d914
Merge pull request #9673 from azat/processors-max_distributed_connections
Fix max_distributed_connections
2020-03-24 08:32:15 +03:00
Alexey Milovidov
9a41113bf4 Renamed tests 2020-03-24 08:25:17 +03:00
Alexey Milovidov
691d98ff34 Added another test 2020-03-24 08:14:48 +03:00
Alexey Milovidov
5a89fd0abc Added performance test 2020-03-24 08:06:35 +03:00
Alexey Milovidov
ff59a06298 Remove memory allocation in inner loop 2020-03-24 07:57:50 +03:00
Alexey Milovidov
df3159d8a8 Fix comment 2020-03-24 07:52:45 +03:00
Alexey Milovidov
ed18a6f0bc A fix in appreciation of UBSan 2020-03-24 07:51:58 +03:00
Alexey Milovidov
27f0b93237 Finally I managed to understand the code 2020-03-24 07:48:44 +03:00
Alexey Milovidov
77e5eb2864 Attempt to understand the code 2020-03-24 07:18:39 +03:00
Alexey Milovidov
4d55952d2e Remove useless code 2020-03-24 03:18:08 +03:00
alexey-milovidov
92bf5a1351
Merge pull request #9819 from ClickHouse/aku/perf-comparison
Some tweaks for performance comparison
2020-03-24 03:11:48 +03:00
alexey-milovidov
10b4b05379
Merge pull request #9812 from azat/force_optimize_skip_unused_shards-nested
Add force_optimize_skip_unused_shards_no_nested
2020-03-24 03:11:33 +03:00
alexey-milovidov
83aaba7e36
Merge pull request #9834 from ClickHouse/better_traces_in_clickhouse_test
Collect stack traces from system.stack_trace table
2020-03-24 03:10:42 +03:00
alexey-milovidov
bae9db10f3
Merge pull request #9823 from ClickHouse/fix-expression-transform-for-empty-totals
Fix Expression transform for empty totals.
2020-03-24 03:10:20 +03:00
alexey-milovidov
43b5519101
Merge pull request #9829 from amosbird/ci
more aggregation methods
2020-03-24 03:09:51 +03:00
alexey-milovidov
ebddd4f0ba
Merge pull request #9832 from ClickHouse/fix-tsan-report-system-stack-trace
Fix tsan report in system.stack_trace
2020-03-24 03:08:09 +03:00
alexey-milovidov
db55ad5309
Merge pull request #9827 from ClickHouse/remove_redundant_code_merge_tree
Remove redundant code from merge tree
2020-03-24 03:07:59 +03:00
alexey-milovidov
28aa3119a4
Merge pull request #8846 from azat/distributed-const-expr-eval
Evaluate constant expressions for optimize_skip_unused_shards
2020-03-24 03:07:42 +03:00
Alexey Milovidov
0d5ed94398 Fixed style 2020-03-24 03:05:05 +03:00
Alexey Milovidov
c59c52d81a Merge branch 'master' into taiyang-li-pr_add_auc 2020-03-24 03:04:34 +03:00
alexey-milovidov
74ca9325ac
Merge pull request #9833 from ClickHouse/fix-glibc-compatibility-3
Fix glibc compatibility
2020-03-24 03:01:30 +03:00
Artem Zuikov
0b6fdde9fc
minor test fix (#9835) 2020-03-24 01:44:29 +03:00
Amos Bird
0744606fc3
DROP VIEW support. (#9831) 2020-03-24 01:28:30 +03:00
Artem Zuikov
38cbf3e6f7
Fix JOIN rewriters inconsistency (#9830)
* fix join rewrites: inconsistent visitors
2020-03-24 01:23:31 +03:00
Nikolai Kochetov
c4370886b0 Update weak hash. 2020-03-23 23:59:36 +03:00
Alexander Kuzmenkov
fe1eb691fd
Update perf-comparison-tweaks-config.xml 2020-03-23 23:53:25 +03:00
Nikolai Kochetov
6d63d4bc88 Update weak hash. 2020-03-23 23:48:46 +03:00
Nikolai Kochetov
ee907da84d Update weak hash. 2020-03-23 23:45:12 +03:00
Nikolai Kochetov
ad56da8961 Added comments. 2020-03-23 23:03:52 +03:00
Nikolai Kochetov
4cfdef4403 Fix style and suppress pvs varnings.] 2020-03-23 22:38:53 +03:00
Nikolai Kochetov
c0dea7b1b3 Fix test. 2020-03-23 22:33:36 +03:00
Azat Khuzhin
d019c4e3b3 Add force_optimize_skip_unused_shards_no_nested
force_optimize_skip_unused_shards_no_nested will disable
force_optimize_skip_unused_shards for nested Distributed tables.

Can be useful for multi-layred/bi-level sharding.
2020-03-23 22:30:54 +03:00
Nikolai Kochetov
9e105b877c Update intHash. 2020-03-23 22:21:15 +03:00
Nikolai Kochetov
3c31139db8 More tests. 2020-03-23 22:18:35 +03:00
Azat Khuzhin
8ffbff85f0 docs: fix force_optimize_skip_unused_shards link
Refs: #9803
2020-03-23 22:07:29 +03:00
alesapin
5b8824c065 Add clang-8 to binary image 2020-03-23 21:23:32 +03:00
alesapin
9c9ce0aa37
Update clickhouse-test 2020-03-23 21:17:07 +03:00
Nikolai Kochetov
0bd502f2a6 Update unit test. 2020-03-23 20:42:26 +03:00
Nikolai Kochetov
2e2272785a Update unit test. 2020-03-23 20:39:34 +03:00