Update StorageSystemDataSkippingIndices.cpp

This commit is contained in:
Alexey Milovidov 2022-11-22 22:17:20 +03:00 committed by GitHub
parent 9ecda9f45c
commit c1283a6bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ protected:
if (column_mask[src_index++])
{
if (auto * expression = index.definition_ast->as<ASTIndexDeclaration>())
res_columns[res_index++]->insert(queryToString(expression->type->clone()));
res_columns[res_index++]->insert(queryToString(expression->type));
else
res_columns[res_index++]->insertDefault();
}