Fix something

This commit is contained in:
Amos Bird 2024-02-24 15:04:05 +08:00
parent 2197f2fc73
commit d577d1e4e2
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4
3 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,11 @@ public:
return original_storage_snapshot ? original_storage_snapshot->storage.canMoveConditionsToPrewhere() : false; return original_storage_snapshot ? original_storage_snapshot->storage.canMoveConditionsToPrewhere() : false;
} }
bool hasEvenlyDistributedRead() const override
{
return original_storage_snapshot ? original_storage_snapshot->storage.hasEvenlyDistributedRead() : false;
}
StorageSnapshotPtr getStorageSnapshot(const StorageMetadataPtr & metadata_snapshot, ContextPtr /*query_context*/) const override StorageSnapshotPtr getStorageSnapshot(const StorageMetadataPtr & metadata_snapshot, ContextPtr /*query_context*/) const override
{ {
return std::make_shared<StorageSnapshot>(*this, metadata_snapshot, object_columns); return std::make_shared<StorageSnapshot>(*this, metadata_snapshot, object_columns);

View File

@ -14,7 +14,6 @@
02174_cte_scalar_cache_mv 02174_cte_scalar_cache_mv
02354_annoy 02354_annoy
02493_inconsistent_hex_and_binary_number 02493_inconsistent_hex_and_binary_number
02725_agg_projection_resprect_PK
# Check after constants refactoring # Check after constants refactoring
02901_parallel_replicas_rollup 02901_parallel_replicas_rollup
# Flaky. Please don't delete them without fixing them: # Flaky. Please don't delete them without fixing them:

View File

@ -1,6 +1,6 @@
SET optimize_move_to_prewhere = 1; SET optimize_move_to_prewhere = 1;
SET enable_multiple_prewhere_read_steps = 1; SET enable_multiple_prewhere_read_steps = 1;
SET prefer_localhost_replica = 0; -- Make sure plan is reliable SET prefer_localhost_replica = 1; -- Make sure plan is reliable
DROP TABLE IF EXISTS t_02156_mt1; DROP TABLE IF EXISTS t_02156_mt1;
DROP TABLE IF EXISTS t_02156_mt2; DROP TABLE IF EXISTS t_02156_mt2;