Nikolai Kochetov
506c5667a7
Remove comment.
2023-08-24 18:21:41 +00:00
Nikolai Kochetov
9737dbca75
Fix window functions.
2023-08-24 16:37:27 +00:00
Nikolai Kochetov
cb851fcee0
Cleanup.
2023-08-24 11:07:17 +00:00
Nikolai Kochetov
33b8b93d1b
Re-implement getOptimizedQueryProcessingStage with analyzer.
2023-08-24 11:07:17 +00:00
Nikolai Kochetov
fc90a1a0bd
Fix some skip_unused_shards tests.
2023-08-24 11:07:17 +00:00
Nikolai Kochetov
26e0ad8d72
Re-impl evaluateExpressionOverConstantCondition [part 1]
2023-08-24 11:07:17 +00:00
Azat Khuzhin
17ca2661a1
Add ability to turn off flush of Distributed on DETACH/DROP/server shutdown
...
Sometimes you can have tons of data there, i.e. few TiBs, and sending
them on server shutdown does not looks sane (maybe there is a bug and
you need to update/restart to fix flushing).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-17 08:58:06 +02:00
Dmitry Novik
1244828555
Analyzer: fix virtual columns in StorageDistributed
2023-08-14 19:27:05 +02:00
Alexander Tokmakov
faca49a905
Merge branch 'master' into add_delay_for_replicated
2023-07-24 16:07:38 +02:00
Nikolay Degterinsky
40652cf2de
Merge pull request #51899 from evillique/describe-table-settings
...
Allow SETTINGS before FORMAT in DESCRIBE TABLE query
2023-07-24 15:24:41 +02:00
alesapin
6416fb6eed
Merge branch 'master' into add_delay_for_replicated
2023-07-22 12:11:39 +02:00
Azat Khuzhin
20625d75ab
Fix optimize_skip_unused_shards with JOINs
...
In case of JOIN query may contains conditions for other tables, while
optimize_skip_unused_shards was pretty dumb and failed to skip such
columns.
Fix this by removing JOIN before applying this optimization.
v2: restriction for analyzer
v3: ignore 01940_custom_tld_sharding_key under analyzer
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Co-Authored-By: Alexey Milovidov <milovidov@clickhouse.com>
2023-07-22 07:45:33 +02:00
robot-clickhouse-ci-2
0db9c79886
Merge pull request #52332 from rschu1ze/better-formatsettings
...
Minor: Less awkward IAST::FormatSettings
2023-07-21 14:49:58 +02:00
Robert Schulze
25ddcc256b
Make IAST::FormatSettings more regular, pt. III
2023-07-20 10:34:05 +00:00
Vitaly Baranov
815a3857de
Remove non-const function Context::getClientInfo().
2023-07-17 15:02:07 +02:00
Nikolay Degterinsky
67e2dee7e2
Allow SETTINGS before FORMAT in DESCRIBE TABLE query
2023-07-06 14:29:58 +00:00
alesapin
baee73fd96
Make shutdown of replicated tables softer
2023-07-05 18:11:25 +02:00
Nikolai Kochetov
22e49748b5
Cleanup.
2023-06-22 14:23:04 +00:00
Nikolai Kochetov
a940031878
Merge branch 'master' into refactor-subqueries-for-in
2023-06-22 12:18:48 +02:00
Nikolai Kochetov
afa74f697c
Refactor a bit.
2023-06-16 19:38:50 +00:00
Dmitry Novik
d05f89f8f5
Fix style
2023-06-12 17:33:15 +00:00
Dmitry Novik
326a3a3e8d
Use query tree to rewrite the query
2023-06-12 16:51:40 +00:00
Nikolai Kochetov
6ce8329bda
Merge branch 'master' into refactor-subqueries-for-in
2023-06-09 20:04:27 +02:00
Nikolai Kochetov
9a4043a4b4
Fixing more tests.
2023-06-09 17:51:59 +00:00
Dmitry Novik
fd919a288f
Merge pull request #50097 from ClickHouse/analyzer-distr-query
...
Analyzer: WIP on distributed queries
2023-06-08 11:35:02 +02:00
Antonio Andelic
b11f744252
Correctly disable async insert with deduplication when it's not needed ( #50663 )
...
* Correctly disable async insert when it's not used
* Better
* Add comment
* Better
* Fix tests
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-07 20:33:08 +02:00
Dmitry Novik
d9a6e36685
Add comments
2023-06-05 11:02:23 +00:00
Dmitry Novik
530f743ed0
Fix Object data type for StorageDistributed
2023-06-02 23:41:25 +02:00
Dmitry Novik
eb7ae91d01
Do not add alias to a temporary table
2023-06-01 14:34:30 +00:00
Dmitry Novik
c6dcb69b85
Fix GLOBAL IN
2023-06-01 14:34:30 +00:00
Dmitry Novik
85e5ed79e5
Fix distributed JOINs
2023-06-01 14:34:30 +00:00
Dmitry Novik
b86516131b
Attempt to fix global JOINs and INs
2023-06-01 14:34:30 +00:00
Dmitry Novik
a4cb82127d
Analyzer: WIP on distributed queries
2023-06-01 14:34:29 +00:00
Alexey Milovidov
956c399b2a
Remove useless code
2023-06-01 03:04:29 +02:00
Nikolai Kochetov
8cec00dd6e
Merge branch 'master' into refactor-subqueries-for-in
2023-05-30 18:08:37 +02:00
Anton Popov
612173e734
refactoring near alter conversions
2023-05-25 22:54:54 +00:00
Nikolai Kochetov
b5b261b22c
Merge branch 'master' into refactor-subqueries-for-in
2023-05-25 21:22:06 +02:00
Nikita Mikhaylov
1c3b6738f4
Fixes for parallel replicas ( #50195 )
2023-05-25 14:41:04 +02:00
Nikolai Kochetov
d8f39b8df1
Fixing more tests.
2023-05-24 17:53:37 +00:00
Alexey Milovidov
5a44dc26e7
Fixes for clang-17
2023-05-13 02:57:31 +02:00
Sema Checherinda
f2ad1122a1
fix convertation
2023-05-10 17:50:42 +00:00
Kruglov Pavel
2ad161d2b7
Merge branch 'master' into non-blocking-connect
2023-04-19 13:39:40 +02:00
Yakov Olkhovskiy
35e9e45249
Merge pull request #48062 from Algunenano/unnecessary_alter_checks
...
Only check MV on ALTER when necessary
2023-04-03 17:23:11 -04:00
Azat Khuzhin
f38a7aeabe
ThreadPool metrics introspection
...
There are lots of thread pools and simple local-vs-global is not enough
already, it is good to know which one in particular uses threads.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 10:46:59 +02:00
Raúl Marín
d1a6c1991a
Only check MV on ALTER when necessary
2023-03-27 17:45:15 +02:00
avogar
38e44861ae
Fix possible race conditions
2023-03-21 16:01:54 +00:00
Dmitry Novik
cced9cf613
Fix build
2023-03-14 12:04:39 +00:00
Dmitry Novik
ae3d30a736
Merge remote-tracking branch 'origin/master' into fix-grouping-for-grouping-sets
2023-03-14 12:01:51 +00:00
Alexander Tokmakov
ed08f8f5c5
Merge branch 'master' into revert_25674
2023-03-12 02:33:25 +03:00
Alexander Tokmakov
7b1b238d0b
Revert "Merge pull request #25674 from amosbird/distributedreturnconnection"
...
This reverts commit 5ffd99dfd4
, reversing
changes made to 2796aa333f
.
2023-03-11 19:09:47 +01:00