Commit Graph

38592 Commits

Author SHA1 Message Date
Nikolai Kochetov
a6c85ff97d
Merge pull request #9735 from ClickHouse/weak-hash
WeakHash32
2020-03-25 18:11:15 +03:00
alesapin
42703c727b Merge branch 'master' into alter_rename_column 2020-03-25 17:45:01 +03:00
alesapin
7470664880 Simplify test 2020-03-25 17:35:48 +03:00
Nikolai Kochetov
778b95797f Fix style. 2020-03-25 16:51:50 +03:00
alexey-milovidov
072191e88c
Merge pull request #9865 from f7753/patch-2
Update features_considered_disadvantages.md
2020-03-25 16:30:55 +03:00
Alexey Milovidov
e125209f17 Added a test 2020-03-25 16:00:45 +03:00
alesapin
d70a448ca1 Fix flaky unit test 2020-03-25 15:49:26 +03:00
Lewinma
331123d0b5
Update features_considered_disadvantages.md 2020-03-25 20:48:18 +08:00
Nikolai Kochetov
68f8343af6 Fix build. 2020-03-25 15:17:11 +03:00
Nikolai Kochetov
333ac3f8db Fix build. 2020-03-25 15:15:51 +03:00
alesapin
049b86ff7d Bump llvm tools to 9 2020-03-25 15:12:03 +03:00
Nikolai Kochetov
4837257bca Force read in order of parts using single thread. 2020-03-25 15:10:24 +03:00
Alexander Kuzmenkov
be75df7c60
Add a note about double escaping in regexes. 2020-03-25 14:34:33 +03:00
Nikolai Kochetov
f37b30f9ec Review fixes. 2020-03-25 14:20:34 +03:00
Nikolai Kochetov
1a37afa3d1 Review fixes. 2020-03-25 14:14:11 +03:00
alesapin
83b2103fd0 Fix mutations memory consumption finally 2020-03-25 13:52:32 +03:00
alexey-milovidov
2c0105a379
Update pointInPolygon.cpp 2020-03-25 13:18:04 +03:00
Alexey Milovidov
4d1ad2b630 Added setting "validate_polygons" 2020-03-25 13:13:34 +03:00
Alexey Milovidov
fa219179f9 Fixed bad code in Settings 2020-03-25 12:36:49 +03:00
Alexey Milovidov
aa61bc1954 Update changelog 2020-03-25 11:03:52 +03:00
alexey-milovidov
a70a9e5383
Update WeakHash.h 2020-03-25 08:27:43 +03:00
Vitaly Baranov
db89b24948
Merge pull request #9840 from vitlibar/fix-grants-for-introspection
Fix calculating grants for introspection
2020-03-24 22:43:50 +03:00
Anton Popov
445d750938 fix build 2020-03-24 22:23:01 +03:00
Alexey Milovidov
484903a22a Whitespace 2020-03-24 22:03:40 +03:00
alexey-milovidov
7aefaf5ff1
Merge pull request #9845 from ClickHouse/fix_delta_test_unbundled
Fix delta test in unbundled mode
2020-03-24 21:58:28 +03:00
Azat Khuzhin
5039b6ab73 Fix Distributed engine with virtual columns of the underlying table in WHERE
Before storage has not been passed to the SyntaxAnalyzer and hence
it cannot check if there is such column and throw for virtual columns
like _part (MergeTree) and others.

Follow-up-for: #8846
2020-03-24 21:07:20 +03:00
Azat Khuzhin
dcf4d5198f Accept const IStorage in SyntaxAnalyzer 2020-03-24 21:06:55 +03:00
Azat Khuzhin
580a7c9f41 Use overload over default value for IStorage::getQueryProcessingStage()
Since clang-tidy complains about it [1]:

    2020-03-24 09:00:53 /build/obj-x86_64-linux-gnu/../dbms/src/Storages/StorageMerge.cpp:139:42: error: default arguments on virtual or override methods are prohibited [google-default-arguments,-warnings-as-errors]
    2020-03-24 09:00:53 QueryProcessingStage::Enum StorageMerge::getQueryProcessingStage(const Context & context, const ASTPtr & query_ptr) const

  [1]: https://clickhouse-builds.s3.yandex.net/9808/b8614de64af3e65c83ee35588082df373959a737/build_log_637307151_1585043194.txt

And indeed, this is a good idea!
2020-03-24 21:00:57 +03:00
Alexander Kuzmenkov
5fd5b15c36 performance comparison 2020-03-24 20:33:42 +03:00
Alexey Milovidov
0b4e601d81 Whitespace 2020-03-24 20:27:58 +03:00
alesapin
4159fa0382 Preparation for rename 2020-03-24 20:05:38 +03:00
Vasily Nemkov
d0e23a503e Fixed formatDateTime handling explicit timezone argument.
Updated reference of the 00921_datetime64_compatibility, issues caused
by Date implicitly using server's timezone (and I was not in GMT+3) at
the moment of updating tests.
2020-03-24 19:58:24 +03:00
alesapin
822fea0405 Fix delta test in unbundled mode 2020-03-24 19:53:12 +03:00
Anton Popov
b12bf5758e Merge remote-tracking branch 'upstream/master' into tuple-literal 2020-03-24 18:11:27 +03:00
BayoNet
04f990a811
DOCS-525: bitCount description EN, RU (#9771)
Described the `bitCount` function.
2020-03-24 17:27:08 +03:00
Anton Popov
c1291e9348 tuple as literal 2020-03-24 15:55:35 +03:00
Nikolai Kochetov
778be3174a Fix pvs warnings. 2020-03-24 15:32:33 +03:00
Ilya Yatsishin
b464b270d6
Play docs (#9842)
* playground docs

* fixes

* Update playground.md

* fix

* about settings

* ru settings

* Update docs/en/getting_started/playground.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/getting_started/playground.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/getting_started/playground.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Apply suggestions from code review

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/ru/getting_started/playground.md

* normalize

* normalize

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-03-24 15:27:31 +03:00
Nikolai Kochetov
5400ffbf93 Update weak hash. 2020-03-24 14:38:41 +03:00
Nikolai Kochetov
08a9486cfc Update weak hash. 2020-03-24 14:38:05 +03:00
Nikolai Kochetov
07b29453cc Update weak hash. 2020-03-24 14:29:55 +03:00
Nikolai Kochetov
20d3e34fb0 Update weak hash. 2020-03-24 14:02:16 +03:00
Nikolai Kochetov
488b21cd82 Update weak hash. 2020-03-24 14:01:15 +03:00
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