mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Fix sanitizeBlock
This commit is contained in:
parent
a93ae46ac1
commit
d4c8adbaff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user