Commit Graph

39540 Commits

Author SHA1 Message Date
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
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
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
Azat Khuzhin
4cbe625567 Fix shard numbers output in logs (full cluster had been printed over optimized) 2020-05-01 02:13:07 +03:00
Alexander Tokmakov
9ca144cab9 drop access cache on DROP DNS CACHE 2020-05-01 01:29:47 +03:00
alexey-milovidov
fc28416b81
Merge pull request #10596 from ClickHouse/llvm-tools-docker
Add LLVM tools to Docker images
2020-04-30 21:26:35 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00
Vitaly Baranov
dd34cd73e2 Move initialization of DatabaseWithDictionaries to constructor. 2020-04-30 20:22:20 +03:00
Ivan Blinkov
84883197d6
[docs] add hreflang links (#10597)
* Introduce hreflang links

* update po

* provide absolute urls in hreflang + add x-default link
2020-04-30 18:49:48 +03:00
alexey-milovidov
c82de27668
Merge pull request #10599 from vzakaznikov/fix_timeout_in_01247_insert_into_watch_live_view_url
Increasing timeout when opening a client in tests/0_stateless/helpers/client.py
2020-04-30 17:01:43 +03:00
Vitaliy Zakaznikov
f2d8ac7ece Increasing timeout when opening a client in tests/queries/0_stateless/helpers/client.py. 2020-04-30 09:46:36 -04:00
BayoNet
701fdc5d2d
DOCS-372: background_pool_size (#10589)
* background_pool_size setting documentation (DOCSUP-707) (#102)

* background_pool_size setting documentation

* background_pool_size documentation: changes after review

* background_pool_size documentation: RU version

* CLICKHOUSEDOCS-372: Described background_pool_size.

* Update docs/en/operations/settings/settings.md

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

* CLICKHOUSEDOCS-372: Updated by comments.

Co-authored-by: otrazhenia <56156889+otrazhenia@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-04-30 16:18:48 +03:00
alexey-milovidov
89cbbe765f
Fixed bug with feedback email on the website (#10595)
* Fixed bug on website

* Style in CSS file

* Style in CSS file
2020-04-30 16:13:41 +03:00