Fix build error

This commit is contained in:
hexiaoting 2021-03-12 16:08:16 +08:00
parent 37749eecde
commit 072a68f8ab

View File

@ -87,7 +87,7 @@ ColumnPtr recursiveRemoveLowCardinality(const ColumnPtr & column)
if (const auto * column_map = typeid_cast<const ColumnMap *>(column.get()))
{
auto nested = column_map->getNestedColumnPtr();
const auto & nested = column_map->getNestedColumnPtr();
auto nested_no_lc = recursiveRemoveLowCardinality(nested);
if (nested.get() == nested_no_lc.get())
return column;