Fix sanitizeBlock

This commit is contained in:
Nikolai Kochetov 2020-06-10 18:06:37 +03:00
parent a93ae46ac1
commit d4c8adbaff

View File

@ -113,7 +113,7 @@ bool sanitizeBlock(Block & block)
return false;
col.column = col.type->createColumn();
}
else if (isColumnConst(*col.column) && !col.column->empty())
else if (!col.column->empty())
col.column = col.column->cloneEmpty();
}
return true;