We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b23e902 + 7e4c38e commit 936bbc7Copy full SHA for 936bbc7
src/Storages/System/StorageSystemTables.cpp
@@ -718,7 +718,9 @@ class TablesBlockSource : public ISource
718
719
if (table_merge_tree)
720
{
721
- auto mutation_counters = table_merge_tree->getMutationCounters();
+ MutationCounters mutation_counters;
722
+ if (columns_mask[src_index] || columns_mask[src_index + 1] || columns_mask[src_index + 2])
723
+ mutation_counters = table_merge_tree->getMutationCounters();
724
725
if (columns_mask[src_index++])
726
res_columns[res_index++]->insert(mutation_counters.num_data);
0 commit comments