diff --git a/src/Storages/System/StorageSystemDataSkippingIndices.cpp b/src/Storages/System/StorageSystemDataSkippingIndices.cpp index aa0f186b56a..d2d0e69505d 100644 --- a/src/Storages/System/StorageSystemDataSkippingIndices.cpp +++ b/src/Storages/System/StorageSystemDataSkippingIndices.cpp @@ -128,7 +128,7 @@ protected: if (column_mask[src_index++]) { if (auto * expression = index.definition_ast->as()) - res_columns[res_index++]->insert(queryToString(expression->type->clone())); + res_columns[res_index++]->insert(queryToString(expression->type)); else res_columns[res_index++]->insertDefault(); }