Commit Graph

31905 Commits

Author SHA1 Message Date
Vitaly Baranov
bfcd437e91 Add an integration test. 2019-12-19 03:15:14 +03:00
Vitaly Baranov
fa53f0c6ba Fix using a custom hostname for a node in the integrations tests.
See https://github.com/docker/compose/issues/2925
2019-12-19 03:15:08 +03:00
Vitaly Baranov
2b93cab88f Fix checking of client hostname. 2019-12-18 16:40:51 +03:00
Vitaly Baranov
8bd9709d1d
Merge pull request #8044 from vitlibar/simplify-format-of-header-of-distributed-send
Simplify format of the header of data sent to a shard in a distributed query.
2019-12-06 15:46:00 +03:00
BayoNet
fe926f3c06
DOCS-163: INTERVAL. EN review, RU translation for #7452 (#7740)
* Update operators.md (#70)

* Update operators.md (#71)

* CLICKHOUSEDOCS-163: EN review, RU translation.

* CLICKHOUSEDOCS-163: Fix

* Update docs/ru/data_types/special_data_types/interval.md

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

* Update docs/ru/query_language/operators.md

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

* Update docs/ru/data_types/special_data_types/interval.md

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

* CLICKHOUSEDOCS-163: Clarification.
2019-12-06 15:22:55 +03:00
BayoNet
aeaac4d573
DOCS-85: Update docs for SELECT ... FROM ... FINAL (#7723)
* Doc links fix.

* More links fix.

* CLICKHOUSEDOCS-85: Update of FROM clause description.

* CLICKHOUSEDOCS-85: Clarification

* Update docs/en/query_language/select.md

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

* Update docs/en/query_language/select.md

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

* CLICKHOUSEDOCS-85: Update by comment.
2019-12-06 14:58:31 +03:00
Nikita Mikhaylov
5a45c7561d
Merge pull request #7637 from nikitamikhaylov/limit_with_ties
Unexpected behaviour of LIMIT WITH TIES and LIMIT BY
2019-12-06 13:44:04 +03:00
Nikita Mikhaylov
34d20a0ef4
updating test after resolving conflicts 2019-12-06 13:17:51 +03:00
Nikita Mikhaylov
6fc5248a27
Merge branch 'master' into limit_with_ties 2019-12-06 13:16:54 +03:00
alesapin
de6cd490ef
Merge pull request #8037 from vitlibar/system-reload-dictionary-causes-complete-reloading
SYSTEM RELOAD DICTIONARY reloads a dictionary completely
2019-12-06 12:55:41 +03:00
Nikolai Kochetov
f0dd0de9ec Revert submodule change. 2019-12-06 12:13:36 +03:00
BayoNet
9123cce703
DOCS-282: DirectoryMonitor settings description. (#7801)
* Doc links fix.

* More links fix.

* CLICKHOUSEDOCS-282: Settings descriptions.

* CLICKHOUSEDOCS-282: Edits after the talking with developer.

* CLICKHOUSEDOCS-282: Fixes.

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

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

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

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

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

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

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

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

* CLICKHOUSEDOCS-282: Clarification.
2019-12-06 09:52:30 +03:00
BayoNet
49dd321438
Merge pull request #7860 from BayoNet/en-docs/CLICKHOUSEDOCS-466-query-profiler-settings
DOCS-466: Query profiler settings docs
2019-12-06 08:24:44 +03:00
Vitaly Baranov
2133492598
Merge pull request #7257 from vitlibar/RBAC-2
RBAC-2
2019-12-06 03:19:39 +03:00
Nikita Mikhaylov
46478db2f8 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2019-12-05 22:09:15 +03:00
Nikita Mikhaylov
88027947a1
update test after resolving conflicts 2019-12-05 21:59:30 +03:00
Nikita Mikhaylov
4946409a78
Merge branch 'master' into limit_with_ties 2019-12-05 21:58:47 +03:00
Nikita Mikhaylov
de2d996063
Merge pull request #7786 from nikitamikhaylov/incorrect_count
Incorrect count() with condition query result for SummingMergeTree.
2019-12-05 21:56:54 +03:00
Nikita Mikhaylov
5e60e0661f
delete useless reference 2019-12-05 21:54:18 +03:00
Nikita Mikhaylov
826a675974
delete useless reference 2019-12-05 21:53:44 +03:00
Nikita Mikhaylov
7783475aaa
delete useless test 2019-12-05 21:53:26 +03:00
alesapin
6afafef86c
Merge pull request #8047 from ClickHouse/fix_check_query_again
Fix bug in checkDataPart
2019-12-05 21:31:36 +03:00
Nikita Mikhaylov
3ad2e45ca2 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2019-12-05 21:26:52 +03:00
Vitaly Baranov
6306e2ab91 Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
8035af3a79 Make Field::getScaleMultiplier() inline to allow using FieldVisitorConvertToNumber
in the "clickhouse_parsers" library.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
3e6619c076 Move IntervalKind-related functions to a separate file. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
ae29628779 Add an integration test for quotas. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
38fa1af5ca Disable quota consumptions for the system queries and for selecting
from the `system.quota` and `system.quotas` tables.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
d9b1a733fc Add table system.quotas. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
55a05e5643 Add functions currentQuota() and currentQuotaKey(). 2019-12-05 21:03:57 +03:00
Vitaly Baranov
0e21673271 Rework Quota based on IAccessEntity. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
e3594bec5f Add function ext::range_with_static_cast(). 2019-12-05 21:03:57 +03:00
Vitaly Baranov
c733e5b50b Add functions for writing std::chrono to string. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
7db6c60bb1 Add AccessControlManager and an interface for the storage. 2019-12-05 21:03:57 +03:00
Vitaly Baranov
44f3ab5f96 Extend typeid_cast() for shared_ptr. 2019-12-05 21:03:57 +03:00
Sergei Shtykov
a7a6a19743 CLICKHOUSEDOCS-466: links fix. 2019-12-05 20:22:41 +03:00
Vitaly Baranov
4d784d6f44 Add test. 2019-12-05 20:07:33 +03:00
Sergei Shtykov
459bfc314b Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-466-query-profiler-settings 2019-12-05 19:54:00 +03:00
Vitaly Baranov
9b44848179 SYSTEM RELOAD DICTIONARY now reloads a dictionary with update_field completely. 2019-12-05 19:45:05 +03:00
Ivan Blinkov
387cbca505
Introduction refactoring + a bunch of docs fixes (#8010)
* Create SECURITY.md

* [experimental] auto-mark documentation PRs with labels

* revert #6544

* Sync RPM packages instructions to other docs languages

* Move tutorial to documentation with old content (for now)

* refactor installation guide a bit

* add ../en/getting_started/index.md

* Rename ya_metrica_task.md

* Rename ya_metrica_task.md

* Refactor Yandex.Metrica dataset description

* WIP on rewriting tutorial

* tmp commit

* lots of docs fixes

* partially revert c136bee4ce

* try to fix docs build in CI

* try to fix docs build in CI

* few minor improvements

* Quick refactoring of last portion of tutorial (not thoroughly tested though)

* fix link
2019-12-05 19:36:51 +03:00
BayoNet
dde164ab33
Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-12-05 18:57:14 +03:00
BayoNet
2216dfb45f
Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-12-05 18:56:31 +03:00
BayoNet
176dbfd54b
Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-12-05 18:56:12 +03:00
BayoNet
4635670610
Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-12-05 18:55:52 +03:00
Nikita Mikhaylov
4f74974492 fixed warning unique_lock 2019-12-05 17:34:35 +03:00
alesapin
227d0ba9d6 Add one more test 2019-12-05 15:39:02 +03:00
alesapin
cd43debd79 Test with non adaptive parts 2019-12-05 15:18:18 +03:00
alesapin
ee46a73d25 Fix bug in checkDataPart when last granule has same number of rows as in .mrk file 2019-12-05 15:01:36 +03:00
chertus
852e891499 better comment 2019-12-05 15:01:34 +03:00
Nikolai Kochetov
26e415736a
Merge pull request #7665 from 4ertus2/joins
New ANY, SEMI, ANTI JOIN (HashJoin only)
2019-12-05 14:38:20 +03:00