Alexander Gololobov
bdf51545f7
Added FilterWithCachedCount class instead of caching counts in filter_bytes_map
2022-12-28 18:07:35 +01:00
Azat Khuzhin
31a88d4eae
Fix PREWHERE with row-level filters (when row filter is always true/false)
...
In case of row-level filters optimized out, i.e. converted to
always true/false, it is possible for MergeTreeRangeReader to reuse
incorrect statistics for the filter (countBytesInResultFilter()), and
because of this it simply does not apply other filters, since it assume
that this filter does not need to filter anything.
Fixes : #40956
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-28 18:07:35 +01:00
Alexander Gololobov
d44392b366
Checking the fix for "Invalid number of rows in Chunk"
2022-12-28 18:07:35 +01:00
Alexey Milovidov
bfe895975e
Merge pull request #44575 from ClickHouse/minimal-changes
...
Non-significant changes
2022-12-27 15:34:27 +03:00
Alexey Milovidov
464a513f0e
Merge pull request #44615 from ClickHouse/projection-grouping-sets
...
Disable projections in presense of any grouping sets, including WITH ROLLUP, WITH CUBE and WITH TOTALS
2022-12-27 15:31:03 +03:00
Alexey Milovidov
1b21cc018e
Merge pull request #44342 from ClickHouse/add-test-29883
...
Add a test for #29883
2022-12-27 14:55:14 +03:00
Alexey Milovidov
593675a7c5
Disable projections in presense of any grouping sets, including WITH ROLLUP, WITH CUBE and WITH TOTALS
2022-12-26 22:31:41 +01:00
Alexey Milovidov
52b306d544
Improve variable name
2022-12-26 18:00:18 +01:00
Alexey Milovidov
71850f6913
Check for bad index_granularity
2022-12-25 16:06:34 +01:00
Alexey Milovidov
f22fc35900
Minimal changes
2022-12-25 14:18:05 +01:00
alesapin
2fecf420cb
Merge pull request #44513 from ClickHouse/small_polishing
...
Minor code polishing
2022-12-23 13:47:26 +01:00
Vladimir C
7482ea54ab
Merge pull request #43972 from ClickHouse/vdimir/tmp-data-in-fs-cache-2
2022-12-23 11:59:27 +01:00
Dmitry Novik
6c23721255
Merge pull request #43761 from ClickHouse/refector-function-node
...
Refactor FunctionNode
2022-12-22 23:53:27 +01:00
alesapin
a32fab90d5
Merge pull request #44436 from ClickHouse/fix_bug_with_max_task_count_update
...
Fix bug with merge/mutate pool size increase
2022-12-22 23:48:54 +01:00
Dmitry Novik
d3502937c7
Update MergeTreeIndexSet
2022-12-22 22:17:18 +00:00
Dmitry Novik
cff882d506
Merge remote-tracking branch 'origin/master' into refector-function-node
2022-12-22 21:34:29 +00:00
alesapin
8d0ad4bbcd
Strange why I have to supress in .cpp
2022-12-22 16:14:19 +01:00
alesapin
fa467b3398
Minor code polishing
2022-12-22 14:31:42 +01:00
Nikolai Kochetov
773de7a8a6
Merge pull request #44472 from CurtizJ/fix-mutations
...
Fix mutations with setting `max_streams_for_merge_tree_reading`
2022-12-22 14:05:20 +01:00
alesapin
049103c550
Merge pull request #44495 from azat/mergetree/static-storage-fix
...
Do not try to remove WAL/move broken parts for static storage
2022-12-22 12:27:08 +01:00
vdimir
88008726d8
Merge branch 'master' into vdimir/tmp-data-in-fs-cache-2
2022-12-22 10:58:39 +00:00
alesapin
380c6cebe4
Merge pull request #44393 from ClickHouse/small_improvement
...
Lock table for share during startup for database ordinary
2022-12-22 11:42:42 +01:00
alesapin
bf188c46a4
Merge branch 'master' into fix_bug_with_max_task_count_update
2022-12-22 11:40:08 +01:00
Maksim Kita
e5ebf20044
Merge pull request #44097 from kitaisreal/analyzer-support-set-index
...
Analyzer support Set index
2022-12-22 13:30:15 +03:00
vdimir
d30d25dbbe
Temporary files evict fs cache
2022-12-22 10:22:49 +00:00
alesapin
9b97cd98c8
Update src/Storages/MergeTree/MergeTreeDataMergerMutator.h
2022-12-21 23:27:17 +01:00
alesapin
97d43a6748
Add comment
2022-12-21 23:26:26 +01:00
alesapin
edcd0d95ca
Revert "Remove explicit dependency on fast test to debug the issue"
...
This reverts commit 2fe969a2e1
.
2022-12-21 23:25:50 +01:00
Azat Khuzhin
1985d321a6
Do not try to remove WAL for static storage
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-21 18:09:38 +01:00
Azat Khuzhin
e06c169b43
Do not try to move parts to detached for static storage
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-21 18:09:38 +01:00
alesapin
a4fbea2184
Relax synchronization to avoid deadlock
2022-12-21 15:59:28 +01:00
Anton Popov
4b7f1e0cf2
fix mutations with setting 'max_streams_for_merge_tree_reading'
2022-12-21 01:59:53 +00:00
Alexey Milovidov
a6f50edde3
Merge branch 'master' into add-test-29883
2022-12-21 01:45:18 +03:00
alesapin
2fe969a2e1
Remove explicit dependency on fast test to debug the issue
2022-12-20 22:00:57 +01:00
Dmitry Novik
4793412887
Merge branch 'master' into refector-function-node
2022-12-20 18:26:19 +01:00
alesapin
f06b311abc
It's really needed
2022-12-20 18:09:38 +01:00
alesapin
2818520572
Fix bug with merge/mutate pool size increase
2022-12-20 14:51:11 +01:00
alesapin
9d4404ce0d
Merge branch 'master' into small_improvement
2022-12-20 12:12:39 +01:00
alesapin
a8515e6925
Merge branch 'master' into fix_race_background_temp_removal
2022-12-20 12:12:14 +01:00
alesapin
c8d9ccf3cd
Lock table for share during startup for database ordinary
2022-12-19 18:51:46 +01:00
alesapin
38fd4e0162
Fix race which can lead to merged parts premature removal
2022-12-19 15:25:01 +01:00
Han Fei
98efee2d75
Merge branch 'master' into hanfei/fix-async-flaky
2022-12-19 14:14:29 +01:00
Han Fei
1cb98eb2d6
address comments
2022-12-19 14:05:50 +01:00
Han Fei
ee250174ab
fix flack test "02481_async_insert_dedup.python"
2022-12-18 22:44:51 +01:00
Alexey Milovidov
3e8dcdc155
Add earlier check
2022-12-18 08:01:43 +01:00
Dmitry Novik
875a24a650
Merge remote-tracking branch 'origin/master' into refector-function-node
2022-12-16 16:07:30 +00:00
Anton Popov
b7e76e3539
do not hold data parts during insert
2022-12-15 23:57:10 +00:00
Nikolai Kochetov
e99849d031
Merge pull request #38953 from ClickHouse/add-allocation-ptr-to-trace-log
...
Track allocation ptr in system.trace_log. Add aggregate function flamegraph
2022-12-15 18:16:05 +01:00
Dmitry Novik
7ad3ff8a9e
Merge pull request #44244 from ClickHouse/part-log-removal-info
...
Add more information about part removal into system.parts table
2022-12-15 18:06:55 +01:00
Alexander Tokmakov
688e488e93
Merge pull request #44220 from ClickHouse/correct-readonlyreplica-metric
...
Fix `ReadonlyReplica` metric
2022-12-15 19:05:20 +03:00