Fixed column size mismatch in some scenarios

This commit is contained in:
akazz 2019-07-18 13:20:53 +03:00
parent e34e745466
commit 87ef45bd3a

View File

@ -343,7 +343,8 @@ static void executeForTernaryLogicImpl(ColumnRawPtrs arguments, ColumnWithTypeAn
MutableColumnPtr const_column_holder; MutableColumnPtr const_column_holder;
if (has_consts) if (has_consts)
{ {
const_column_holder = convertFromTernaryData(UInt8Container({const_3v_value}), const_3v_value == Ternary::Null); const_column_holder =
convertFromTernaryData(UInt8Container(input_rows_count, const_3v_value), const_3v_value == Ternary::Null);
arguments.push_back(const_column_holder.get()); arguments.push_back(const_column_holder.get());
} }