mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Fix remove/wrap nullable transforms.
This commit is contained in:
parent
7371166e33
commit
db3ec74866
@ -81,7 +81,7 @@ static Blocks removeNullable(Block && block, const ColumnNumbers & column_number
|
||||
removeByPosition(number);
|
||||
removeByPosition(result);
|
||||
|
||||
auto & result_null_map = null_maps.getByPosition(result);
|
||||
auto & result_null_map = null_maps.getByPosition(column_numbers.size());
|
||||
if (has_const_null_arg)
|
||||
result_null_map.column = DataTypeUInt8().createColumnConst(block.getNumRows(), 1);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user