Commit Graph

69641 Commits

Author SHA1 Message Date
Amos Bird
4f7e007d35
Specialize date time comparision. 2021-08-03 16:49:39 +08:00
Yatsishin Ilya
7ad4a42003 upadte CMakeLists 2021-08-03 11:27:23 +03:00
Yatsishin Ilya
d6844facaf one more fix 2021-08-03 11:01:01 +03:00
Azat Khuzhin
97851bde08 Fix Distributed over Distributed for WithMergeableStateAfterAggregation* stages
In case if one Distributed has multiple shards, and underlying
Distributed has only one, there can be the case when the query will be
tried to process from Complete to WithMergeableStateAfterAggregation,
which is obviously wrong.
2021-08-03 10:10:08 +03:00
Amos Bird
b541b5eca3
Normalize hostname in CI 2021-08-03 15:00:57 +08:00
Vitaly Baranov
40a3c8281a Fix synchronization in GRPCServer 2021-08-03 09:44:47 +03:00
Kseniia Sumarokova
98326ec028
Merge pull request #19526 from taiyang-li/disk_reload
Enable local disk config reload
2021-08-03 08:37:39 +03:00
Kseniia Sumarokova
5d3abc14c7
Merge pull request #22045 from OmarBazaraa/mongo-ssl
Support SSL connection in MongoDB engine
2021-08-03 08:29:34 +03:00
Maksim Kita
edab45d25f
Merge pull request #27082 from kitaisreal/updated-cache-dictionaries-documentation
Updated cache dictionaries documentation
2021-08-03 02:22:21 +03:00
Maksim Kita
3b4eb2d769 Fixed code review issues 2021-08-03 00:53:43 +03:00
tavplubix
58b50bad3a
Merge pull request #27033 from ClickHouse/database_replicated_fixes
Fix assertions in Replicated database
2021-08-02 23:33:18 +03:00
Dmitriy
d6b5838282 Delete the introductory sentence
Удалил неверное предложение.
2021-08-02 23:16:23 +03:00
Dmitriy
387136dc84 Add settings
Добавил настройки, перевел табличный движок MaterializedPostgreSQL.
2021-08-02 22:45:01 +03:00
Nikita Mikhaylov
771bd6be11
Merge pull request #27092 from Algunenano/clear_dns_test
Stateless tests: Keep an DNS error free log
2021-08-02 21:44:15 +03:00
Alexey Boykov
8234ed6ecf
Merge pull request #27084 from evillique/nlp-docs
Improve documentation for NLP functions
2021-08-02 21:08:30 +03:00
Azat Khuzhin
ff12f5102a Avoid running LIMIT BY/DISTINCT step on the initiator for optimize_distributed_group_by_sharding_key
Before the following queries was running LimitBy/Distinct step on the
initator:

  select distinct sharding_key from dist order by k

While this can be omitted.
2021-08-02 21:04:30 +03:00
Azat Khuzhin
c830964240 Cover distributed_push_down_limit for queries w/o sharding expr 2021-08-02 21:04:30 +03:00
Azat Khuzhin
2fb95d9ee0 Rework SELECT from Distributed query stages optimization
Before this patch it wasn't possible to optimize simple SELECT * FROM
dist ORDER BY (w/o GROUP BY and DISTINCT) to more optimal stage
(QueryProcessingStage::WithMergeableStateAfterAggregationAndLimit),
since that code was under
allow_nondeterministic_optimize_skip_unused_shards, rework it and make
it possible.

Also now distributed_push_down_limit is respected for
optimize_distributed_group_by_sharding_key.

Next step will be to enable distributed_push_down_limit by default.

v2: fix detection of aggregates
2021-08-02 21:04:29 +03:00
Azat Khuzhin
bb6d030fb8 Optimize distributed SELECT w/o GROUP BY 2021-08-02 21:04:29 +03:00
michon470
d10835f223
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:14:22 +03:00
michon470
e03539fdd4
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:14:09 +03:00
michon470
c5df30594d
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:58 +03:00
michon470
1a4d9fec9b
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:48 +03:00
michon470
36c6d7e1c0
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 20:13:35 +03:00
Yatsishin Ilya
31d027b8d0 Try update arrow 2021-08-02 19:33:15 +03:00
Yatsishin Ilya
c645dc9d7d fix 2021-08-02 19:23:13 +03:00
Nikolay Degterinsky
0f6fff47d3
Apply suggestions from code review
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-02 18:54:24 +03:00
OmarBazaraa
71e1c82f87 Refactor 2021-08-02 15:16:39 +00:00
kssenii
087ddeb0dc Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into taiyang-li-disk-reload 2021-08-02 15:16:09 +00:00
Yatsishin Ilya
7a2e711765 Try update AMQP-CPP 2021-08-02 17:48:53 +03:00
Nikolai Kochetov
d63a5e1c96
Merge pull request #26675 from Algunenano/kill_better
Handle KILL requests while running pipeline executors
2021-08-02 17:37:54 +03:00
kssenii
294695bb7d Review fixes 2021-08-02 13:40:58 +00:00
Raúl Marín
d5a5ba8f0d Stateless tests: Keep an DNS error free log 2021-08-02 15:19:40 +02:00
Alexander Tokmakov
42a8bb6872 fix assertions in Replicated database 2021-08-02 16:19:11 +03:00
OmarBazaraa
91928fdf5a Fix 2021-08-02 13:11:49 +00:00
Anton Ivashkin
740c169396 Fix test_merge_tree_s3_failover with debug build 2021-08-02 16:08:27 +03:00
OmarBazaraa
8577938efe Throw exception in case SSL is not enabled 2021-08-02 12:34:50 +00:00
Nikolay Degterinsky
d9db3dcff8 Improve docs 2021-08-02 12:32:45 +00:00
Maksim Kita
d2440dca86 Updated cache dictionaries documentation 2021-08-02 15:18:05 +03:00
Maksim Kita
b7101baac9
Merge pull request #27032 from kitaisreal/cache-dictionary-configuration-parse-fix
Cache dictionaries configuration parse fix
2021-08-02 15:15:31 +03:00
vdimir
5d2aec78c3
Add testcase for multiple joins and unknwon identifier in where section 2021-08-02 15:08:14 +03:00
Anton Popov
fc9d72e75d fix performance of short queries with large number of columns 2021-08-02 15:03:55 +03:00
alesapin
f3e0f648d0 Fixup 2021-08-02 15:00:05 +03:00
alesapin
53c3a4fbc6 Fix excessive logging in NuRaft on server shutdown 2021-08-02 14:57:51 +03:00
vdimir
593b7e9bbb
Do not throw exception if unknwon column met while join rewriting 2021-08-02 14:51:34 +03:00
vdimir
7364f35da6
Add alwaysReturnsEmptySet for Merge Join 2021-08-02 13:49:56 +03:00
Nikolai Kochetov
6951e8147d
Merge pull request #27020 from amosbird/shardlevelconstness
Shard-level const column
2021-08-02 13:45:20 +03:00
Alexander Kuzmenkov
44e3b76c3a
Merge branch 'master' into mappopulateseries_for_maps 2021-08-02 13:02:22 +03:00
Alexander Kuzmenkov
df0d9be04b
Update docs/en/sql-reference/functions/tuple-map-functions.md 2021-08-02 12:59:13 +03:00
Maksim Kita
1f1795a305
Merge pull request #26978 from Algunenano/improve_executable_dictionary
01674_executable_dictionary_implicit_key: executable_dictionary: Use printf
2021-08-02 12:54:08 +03:00