fix failed ut

This commit is contained in:
taiyang-li 2023-11-27 10:48:01 +08:00
parent 35cf4cd1dd
commit f33f231725

View File

@ -213,7 +213,10 @@ Block ArrayJoinResultIterator::next()
/// Reuse cut_any_col if possible to avoid unnecessary cut.
if (!is_unaligned && !is_left && current.name == *columns.begin())
{
current.column = cut_any_col;
current.type = getArrayJoinDataType(current.type);
}
else
current.column = current.column->cut(current_row, next_row - current_row);