Commit Graph

49475 Commits

Author SHA1 Message Date
alexey-milovidov
3ca7fca48a
Update DiskS3.cpp 2020-10-03 03:42:33 +03:00
Alexey Milovidov
d426ba3074 Step 4: cleanup 2020-10-03 03:07:55 +03:00
Alexey Milovidov
b6ca8a0676 Step 3: check other usages, add a comment 2020-10-03 03:05:54 +03:00
Alexey Milovidov
2441be4b66 Step 2: move code to .cpp 2020-10-03 03:02:47 +03:00
Alexey Milovidov
6608de470d Step 1: handle EINTR in statvfs 2020-10-03 03:01:32 +03:00
alexey-milovidov
cb708212a8
Merge pull request #15536 from ClickHouse/fix_ilike
Separate cache for ilike after like
2020-10-03 02:07:40 +03:00
Azat Khuzhin
f25c1742b8 Pass through *_for_user settings via Distributed with cluster-secure
In cluster-secure case the user on shards (remote) is equal to the user
on the initiator, so those settings can be safely applied.
2020-10-03 02:04:47 +03:00
Azat Khuzhin
2a2f858365 Significantly reduce memory usage in AggregatingInOrderTransform
Clean the aggregates pools (Arena's objects) between flushes, this will
reduce memory usage significantly (since Arena is not intended for
memory reuse in the already full Chunk's)

Before this patch you cannot run SELECT FROM huge_table GROUP BY
primary_key SETTINGS optimize_aggregation_in_order=1 (and the whole
point of optimize_aggregation_in_order got lost), while after, this
should be possible.
2020-10-03 00:56:58 +03:00
Azat Khuzhin
d9ac79c094 Regression for memory usage for optimize_aggregation_in_order 2020-10-03 00:56:58 +03:00
Alexander Tokmakov
bd790f399f simplify test 2020-10-02 22:34:37 +03:00
Pavel Kruglov
7acd85d2b1 Fix style error 2020-10-02 22:20:35 +03:00
alesapin
77c9f7af79
Merge pull request #15532 from ClickHouse/substitute_defaults_recursively
Fix defaults substitution for absent columns which depend on other defaults
2020-10-02 21:42:01 +03:00
Alexander Tokmakov
c3e9317d32 add test draft 2020-10-02 20:48:13 +03:00
Alexander Tokmakov
6b2da861dc Merge branch 'master' into write_structure_of_table_functions 2020-10-02 20:46:58 +03:00
Pavel Kruglov
f6f4285348 Improve quantileTDigest performance 2020-10-02 20:13:55 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
feng lv
ac1f0b9947 add test 2020-10-02 23:34:14 +08:00
feng lv
d2f75f8508 fix 2020-10-02 23:13:28 +08:00
Nikolai Kochetov
404c199448
Merge pull request #15509 from markpapadakis/patch-6
Update ActionsVisitor.cpp
2020-10-02 18:07:46 +03:00
alesapin
7d75866722 Add tests 2020-10-02 17:29:20 +03:00
alesapin
8c0581c503 Fix ilike cache 2020-10-02 17:27:47 +03:00
nvartolomei
d35ac3c3fb
Add missing entry to client packet stringify
(noticed while reading the code)
2020-10-02 15:10:19 +01:00
Artem Zuikov
ecdf0ed1a8
update en and ru docs: add 128/256 types (#15515) 2020-10-02 16:47:29 +03:00
Azat Khuzhin
21deb6812c
Drop unused code for numeric_limits<int128> in MergeTreeDataSelectExecutor (#15519) 2020-10-02 16:46:20 +03:00
alesapin
ef9728da79 Fix comment 2020-10-02 15:54:51 +03:00
Vitaly Baranov
dd634aa731
Merge pull request #15491 from vitlibar/update-grpc
Update gRPC to the latest version
2020-10-02 15:54:35 +03:00
alesapin
7d41afa342 More defaults on defaults 2020-10-02 15:51:01 +03:00
alesapin
17b86dec96 Recursive defaults 2020-10-02 15:38:50 +03:00
alesapin
c5df9433f0
Merge pull request #15239 from ClickHouse/100_percent_lld_11_for_clang_11
Build ClickHouse for release with clang-11
2020-10-02 14:59:29 +03:00
alesapin
977b28b39b
Merge pull request #15528 from ClickHouse/fix_build_Deb
Fix bash in deb packages
2020-10-02 14:55:29 +03:00
Alexander Kuzmenkov
3be7c7745e Use a separate overload for formatting with fmt 2020-10-02 14:06:38 +03:00
alesapin
bde65557f1 Fix bash 2020-10-02 12:40:50 +03:00
Nikolai Kochetov
56141a1e6b
Update ActionsVisitor.cpp 2020-10-02 12:13:26 +03:00
Sergey Ryzhkov
aa68f2d51a I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category:

Documentation for #13097
2020-10-02 11:40:31 +03:00
alesapin
c0d1416bbd
Merge pull request #15516 from nvartolomei/nv/error-out-for-wrong-parameters-replicatedmergetree
Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it
2020-10-02 10:18:28 +03:00
Sergey Ryzhkov
0d5923d87c Update type-conversion-functions.md 2020-10-02 10:11:14 +03:00
alesapin
677a7e485f Don't add memcpy for sanitizers builds 2020-10-02 09:57:13 +03:00
Sergey Ryzhkov
ea9045da8d DOCSUP-2866: Document the allow_experimental_bigint_types setting 2020-10-02 08:09:44 +03:00
Vitaly Baranov
65a1684ed7 Fix gRPC build scripts. 2020-10-02 01:45:01 +03:00
Amos Bird
7c9bbe4c29 Neutrialize thinlto's memcpy libcall gen.
(cherry picked from commit 8ffa4d395c)
2020-10-01 22:22:32 +03:00
alesapin
409aaabc2f Revert "Add fno-builtin-memcpy"
This reverts commit 94ab1313e3.
2020-10-01 22:22:14 +03:00
Alexander Kuzmenkov
5c4902c0ab
Merge pull request #15480 from ClickHouse/aku/uuid
Add reinterpretAsUUID function
2020-10-01 21:56:39 +03:00
Nicolae Vartolomei
eb1d253355 Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it 2020-10-01 17:59:50 +01:00
alexey-milovidov
1829c8545c
Update SECURITY.md 2020-10-01 19:17:11 +03:00
alexey-milovidov
af1735bedf
Merge pull request #15512 from ClickHouse/qoega-patch-2
Update SECURITY.md
2020-10-01 19:16:19 +03:00
Alexander Kuzmenkov
72c3ee74e8
Merge pull request #15479 from ClickHouse/aku/docker-shellcheck
Check docker scripts with shellcheck
2020-10-01 18:27:59 +03:00
Alexander Kuzmenkov
6e07bfe7bc return the comment 2020-10-01 17:29:22 +03:00
Alexander Kuzmenkov
c20053351c Make the test throw more comprehensive errors 2020-10-01 17:23:48 +03:00
Alexander Kuzmenkov
46596e7a4f
Merge pull request #15453 from ClickHouse/aku/local-fasttest
Allow fast test to run locally
2020-10-01 17:10:13 +03:00
Vitaly Baranov
6f8b887cf8
Merge pull request #15492 from vitlibar/fix-using-external-protobuf-library
Fix using external protobuf library for the build.
2020-10-01 16:17:52 +03:00