Commit Graph

39552 Commits

Author SHA1 Message Date
Alexey Milovidov
a473c0397d Disable flacky test #10576 2020-05-02 23:18:41 +03:00
Alexey Milovidov
554e7a0dd2 Preparations 2020-05-02 22:59:07 +03:00
Alexey Milovidov
e6ab4d655b Fix bad code 2020-05-02 22:54:29 +03:00
Alexey Milovidov
f0e80fec68 Whitespaces 2020-05-02 22:41:01 +03:00
alexey-milovidov
db4c2352e1
Merge pull request #10569 from zhang2014/fix/ISSUES-10551
ISSUES-10551 add backward compatibility for create bloom filter index
2020-05-02 22:25:29 +03:00
alexey-milovidov
250a44a47f
Merge pull request #10607 from Avogar/json_as_string_format
Add JSONAsStringRowInputFormat
2020-05-02 22:17:22 +03:00
alexey-milovidov
229f666dea
Merge pull request #10611 from azat/optimize_skip_unused_shards-LowCardinality
Fix optimize_skip_unused_shards with LowCardinality
2020-05-02 22:14:33 +03:00
alexey-milovidov
ea7038b1b0
Update 01270_optimize_skip_unused_shards_low_cardinality.sql 2020-05-02 22:14:20 +03:00
alexey-milovidov
4f1b115e76
Merge pull request #10610 from azat/optimize_skip_unused_shards-fixes
Fix logging for optimize_skip_unused_shards
2020-05-02 22:13:01 +03:00
alexey-milovidov
d38ea6fc1c
Merge pull request #10608 from ClickHouse/fix_drop_dns_cache
Improve DROP DNS CACHE
2020-05-02 22:10:58 +03:00
Alexey Milovidov
cef28325ff Update to clang-10 2020-05-02 22:00:05 +03:00
alexey-milovidov
8c45fd6a06
Merge pull request #10627 from ClickHouse/more-check-server-version
Check if client is newer than server
2020-05-02 21:58:13 +03:00
BayoNet
f9fd2306a1
DOCS-437: getMacro (#10614)
* asiana21-DOCSUP-923 (#103)

* docs(getMacro): added the function descriprion

* docs(getMacro): some changes

* Update docs/en/sql_reference/functions/other_functions.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/functions/other_functions.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/functions/other_functions.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* docs(getMacro): added translation of the function description

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-437: getMacro

* CLICKHOUSEDOCS-437: Fixed conflicts.

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-437: Updated by comments.

Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-02 21:01:13 +03:00
Alexey Milovidov
a72752d98f Check if client is newer than server 2020-05-02 20:19:43 +03:00
tavplubix
a073cd6c79
Fix segfault in StorageBuffer when exception on server startup (#10609)
* fix segfault in StorageBuffer when exception on server startup

* Trigger CI

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-05-02 19:54:20 +03:00
Alexey Milovidov
a844e66e05 Fix bad default selection of runs 2020-05-02 19:36:55 +03:00
Alexey Milovidov
5a5d64eb90 Added comparison of gcc and clang #10625 2020-05-02 19:34:24 +03:00
Alexey Milovidov
81adcc9058 Remove obsolete records from system.build_options 2020-05-02 17:00:03 +03:00
Alexey Milovidov
d8e36a0789 Added CMake option ENABLE_THINLTO #10585 2020-05-02 16:50:57 +03:00
alexey-milovidov
d763d0019b
Merge pull request #10625 from amosbird/unwind
Partial fix of clang build stack unwinding (omit-frame-pointer)
2020-05-02 16:43:04 +03:00
Ivan
e5ca9a3789
Fix FreeBSD build (#10150)
* Add ranlib into toolchain
* Disable LLVM
2020-05-02 15:07:57 +03:00
alexey-milovidov
3289f89721
Merge pull request #10618 from matwey/fix/capnproto_version
Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader
2020-05-02 14:43:13 +03:00
alexey-milovidov
734aef8972
Merge pull request #10585 from amosbird/thinlto
Enable thinLTO
2020-05-02 14:40:47 +03:00
alexey-milovidov
7769ff5bc9
Merge pull request #10617 from ClickHouse/lower-memory-usage-in-tests
Lower memory usage in tests
2020-05-02 14:40:07 +03:00
Alexey Milovidov
baf9cc99df Update test reference 2020-05-02 14:38:53 +03:00
Amos Bird
014a1233ff
Partial fix of clang build stack unwinding 2020-05-02 18:52:29 +08:00
alexey-milovidov
ddefb89d86
Update 00154_avro.sql 2020-05-01 23:13:18 +03:00
alexey-milovidov
204b476fde
Merge branch 'master' into thinlto 2020-05-01 23:00:57 +03:00
alexey-milovidov
1f3c2ce243
Fix data rott @blinkov 2020-05-01 22:34:32 +03:00
Matwey V. Kornilov
d7627fa4fb Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader
capnp::UnalignedFlatArrayMessageReader was introduced in
3aa2b2aa02
(which is a part of 0.7.0 release). Unfortunately,
capnp::UnalignedFlatArrayMessageReader was removed in
3f0fee61c6
(which is a part of 0.8.0 release)

So change CAPNP_VERSION check accordingly.
2020-05-01 22:32:06 +03:00
Alexander Kazakov
e9baaa439b
Implementation of new system metrics provider (Procfs) (#10544)
* New metrics provider (Procfs) + Refactored TasksStatsCounters

* Trivial statless test that ProcFS is provided

* Trivial perf test for ProcfsMetricsProvider

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-05-01 21:47:41 +03:00
alexey-milovidov
404452bad3
Update MergeTreeIndices.cpp 2020-05-01 21:40:56 +03:00
Alexey Milovidov
c15fe728fd Lower memory usage in tests #10277 2020-05-01 21:26:52 +03:00
alexey-milovidov
5594bd7042
Merge pull request #10615 from ClickHouse/llvm-binutils
Cherry-pick half of #10585
2020-05-01 20:40:06 +03:00
Avogar
3de0bca856 Remove double space 2020-05-01 19:50:18 +03:00
Avogar
9670e74885 Update makeContinuousMemoryFromCheckpointToPos in PeekableReadBuffer. 2020-05-01 19:42:15 +03:00
Avogar
697d5b07ce Fix build and style errors. Update test. 2020-05-01 19:41:14 +03:00
alexey-milovidov
ab42691b77
Update CMakeLists.txt 2020-05-01 18:41:53 +03:00
Alexey Milovidov
2c01fa1845 Cherry-pick half of #10585 2020-05-01 18:39:50 +03:00
alexey-milovidov
f11148a77c
Trigger CI 2020-05-01 16:44:49 +03:00
alesapin
ed46b98dc4 Change port for internal http server in 00646 test 2020-05-01 16:43:18 +03:00
Alexey Milovidov
4933a6a974 Temporarily remove live view tests #10604 (waiting for fix) 2020-05-01 16:15:06 +03:00
Vitaly Baranov
2528e72199
Merge pull request #10587 from vitlibar/database-with-dictionary-init-in-constructor
Move initialization of DatabaseWithDictionaries to constructor.
2020-05-01 14:08:53 +03:00
alesapin
4d8660f270 Remove obsolete comment 2020-05-01 13:05:37 +03:00
Azat Khuzhin
63d8ab8f03 Make createSelector() static (in storage) and const (in stream) 2020-05-01 11:31:05 +03:00
Alexander Kuzmenkov
f4aac4322c Add performance test for sumMap(Tuple). 2020-05-01 10:48:45 +03:00
Alexander Kuzmenkov
2ac26bd3a5 Disable mremap under MemorySanitizer. 2020-05-01 10:38:05 +03:00
Azat Khuzhin
f22ba15b4a Reduce copy-paste of DistributedBlockOutputStream::createSelector
This will make it less error prone.
2020-05-01 02:59:40 +03:00
Azat Khuzhin
cdd7013438 Drop superfluous "Skipping irrelevant shards" messages
Before this patch it printed 3 times:
- from StorageDistributed::getProcessingStageImpl()
- from StorageDistributed::read()
- from StorageDistributed::getProcessingStageImpl() (from StorageDistributed::read() -> getSampleBlock())
(But this should be optimized)
2020-05-01 02:56:13 +03:00
Azat Khuzhin
c648c300bf Fix optimize_skip_unused_shards with LowCardinality 2020-05-01 02:39:58 +03:00