Commit Graph

62020 Commits

Author SHA1 Message Date
kirillikoff
f4232de548
Update merge-tree-settings.md 2021-04-12 12:11:39 +03:00
Maksim Kita
b9fe85d537
Merge pull request #22964 from ClickHouse/uniq-up-to-ubsan
Check out of range values in FieldVisitorConverToNumber
2021-04-12 11:50:19 +03:00
alesapin
abab3ba09f Fix lost comment 2021-04-12 11:07:28 +03:00
alesapin
5310c0c41d Proper config spec 2021-04-12 11:06:36 +03:00
Maksim Kita
3078fd7d79
Merge pull request #22983 from borodark/master
Error message reads better
2021-04-12 10:56:10 +03:00
Azat Khuzhin
de64b6e987 Cleanup 01756_optimize_skip_unused_shards_rewrite_in 2021-04-12 10:37:28 +03:00
Azat Khuzhin
79bd8d4d3f Respect optimize_skip_unused_shards_rewrite_in with optimize_skip_unused_shards_limit 2021-04-12 10:37:28 +03:00
Azat Khuzhin
e439914d38 Fix optimized cluster logic for optimize_skip_unused_shards 2021-04-12 10:37:28 +03:00
Azat Khuzhin
fbb386dca5 Rewrite IN in query for remote shards to exclude values that does not belongs to shard
v2: fix optimize_skip_unused_shards_rewrite_in for sharding_key wrapped into function
v3: fix column name for optimize_skip_unused_shards_rewrite_in
v4: fix optimize_skip_unused_shards_rewrite_in with Null
v5:
- squash with Remove query argument for IStreamFactory::createForShard()
- use proper column after function execution (using sharding_key_column_name)
- update the test reference since (X) now is tuple(X)
2021-04-12 10:37:28 +03:00
Azat Khuzhin
773212529b Make Cluster::SlotToShards public 2021-04-12 10:32:04 +03:00
Dmitry Krylov
a5a4fbdb00 Fix test filenames 2021-04-12 13:09:36 +10:00
Dmitry Krylov
18f58b0c49 Fix test filenames 2021-04-12 12:16:20 +10:00
Nikita Mikhaylov
5b936b9d23
Merge pull request #22982 from kssenii/fix-ya
Fix arcadia
2021-04-12 05:14:22 +03:00
Dmitry Krylov
68bd27f3c5 Fix code style 2021-04-12 12:12:40 +10:00
Dmitry Krylov
35472bcc2f Update to new IFunction::create() 2021-04-12 11:37:44 +10:00
Egor O'Sten
f68c563140 Checks 2021-04-11 21:05:05 -04:00
Egor O'Sten
c8b572ed59 Readability of error message for ORDER BY 2021-04-11 20:42:05 -04:00
Egor O'Sten
c77dd36ca9 Readability of error message for ORDER BY 2021-04-11 20:40:00 -04:00
Dmitry Krylov
5c24225d86 Fix performance tests 2021-04-12 10:23:31 +10:00
Dmitry Krylov
b5f6de3cf9 Renaming tests 2021-04-12 10:23:31 +10:00
Dmitry Krylov
602fb190b0 Benchmarks for arrayFold 2021-04-12 10:23:31 +10:00
Dmitry Krylov
923e9c644e Adding documentation 2021-04-12 10:23:31 +10:00
Dmitry Krylov
160d4a756e Tests for errors and tests for multi arrays 2021-04-12 10:23:31 +10:00
Dmitry Krylov
582f6d3a72 Remove unneeded branches of code 2021-04-12 10:23:31 +10:00
Dmitry Krylov
c2f326e2ae Remove unneeded branches of code 2021-04-12 10:23:31 +10:00
Dmitry Krylov
ce1b9b20d5 Remove unneeded branches of code 2021-04-12 10:23:31 +10:00
Dmitry Krylov
15ea9b3f22 Move arrayFold functionality to arrayFold.cpp 2021-04-12 10:23:31 +10:00
Dmitry Krylov
517ef8ebf4 Bug with string functions in arrayFold fixed 2021-04-12 10:23:31 +10:00
Dmitry Krylov
e3502dabc7 Remove debug messages 2021-04-12 10:23:31 +10:00
Dmitry Krylov
1861817bfc Remove debug messages 2021-04-12 10:23:31 +10:00
Dmitry Krylov
9446df026b Cleaning code 2021-04-12 10:23:31 +10:00
Dmitry Krylov
21941bffc8 Tests for arrayFold 2021-04-12 10:23:31 +10:00
Dmitry Krylov
b19a06ba48 Fix to work with empty arrays 2021-04-12 10:23:31 +10:00
Dmitry Krylov
fbd43aeea8 Draft: taking into accout input arrays variable length 2021-04-12 10:23:31 +10:00
Dmitry Krylov
2e8a296cc9 Draft: very simple variant 2021-04-12 10:23:31 +10:00
Dmitry Krylov
7c47832405 Experiment: attempt to shrink arrays 2021-04-12 10:23:31 +10:00
kssenii
df84e4e93a Fix 2021-04-11 23:39:18 +00:00
kssenii
7a287e6fe9 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc 2021-04-11 21:36:08 +00:00
Kseniia Sumarokova
71484fcfbd
Merge branch 'master' into postgresql-protocol-with-row-policy 2021-04-12 00:12:49 +03:00
kssenii
792d57d630 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into postgresql-protocol-with-row-policy 2021-04-11 21:10:33 +00:00
Alexey Milovidov
5a55905807 Simplify debian packages 2021-04-11 23:04:50 +03:00
Alexey Milovidov
582ce69ee0 Add a test #20019 2021-04-11 22:40:58 +03:00
Alexey Milovidov
22720dd7a4 Fix trivial mistake in filtering by virtual columns 2021-04-11 22:39:22 +03:00
Azat Khuzhin
0bf6b61b59 Fix combinators with common prefix name (State and SimpleState) with libstdc++
Previously sort order of the std::unordered_map in libstdc++ was
different and any *SimpleState() reports an error that function does not
exists.

Fix this by using proper order in container, and use std::vector over
std::unordered_map, since there linear traversing anyway in the single
method -- tryFindSuffix()

Note that test is not required, since it either fail with unknown
function or not.
2021-04-11 22:10:02 +03:00
Alexey Milovidov
92c495af76 Simplify debian packages 2021-04-11 22:08:35 +03:00
Maksim Kita
b571656fd7
Merge pull request #22931 from Enmk/dateDiff_DateTime64_fix
Fixed dateDiff for DateTime64
2021-04-11 21:36:24 +03:00
Maksim Kita
aa6183af86
Merge pull request #22971 from azat/max_part_removal_threads
Respect max_part_removal_threads for ReplicatedMergeTree
2021-04-11 21:14:47 +03:00
Tatiana Kirillova
139ab25477 Translation into Russian 2021-04-11 20:33:42 +03:00
Vasily Nemkov
ffd808f877
Removed redundant access specifier 2021-04-11 17:38:11 +03:00
Vasily Nemkov
0f7c83b5ac Fixed parsing DateTime64 as unix timestamp with subsecond precision scaled to integer.
e.g. toDateTime64('1111111111222', 3)
2021-04-11 17:28:58 +03:00