From 0cccb2ac3b1adf7e61760adeb1de77c3efb556a0 Mon Sep 17 00:00:00 2001 From: Filipp Ozinov Date: Mon, 14 Aug 2023 01:57:41 +0400 Subject: [PATCH] Fixed system.data_skipping_indices for MaterializedMySQL Related to #53350 --- src/Storages/StorageMaterializedMySQL.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Storages/StorageMaterializedMySQL.h b/src/Storages/StorageMaterializedMySQL.h index e6fcbc203e6..f16fa8ffa78 100644 --- a/src/Storages/StorageMaterializedMySQL.h +++ b/src/Storages/StorageMaterializedMySQL.h @@ -43,6 +43,10 @@ public: bool supportsTrivialCountOptimization() const override { return false; } + IndexSizeByName getSecondaryIndexSizes() const override { + return nested_storage->getSecondaryIndexSizes(); + } + private: [[noreturn]] static void throwNotAllowed() {