added IColumn::select

This commit is contained in:
Nikolai Kochetov 2018-04-23 21:20:52 +03:00
parent 46d47cd892
commit 792caf4294

View File

@ -297,7 +297,7 @@ void PreparedFunctionImpl::execute(Block & block, const ColumnNumbers & args, si
executeWithoutColumnsWithDictionary(temp_block, temp_numbers, 0);
auto & res_col = block.getByPosition(result);
res_col.column = res_col.type->createColumn();
res_col.column->insertRangeFrom(temp_block.getByPosition(0).column->assumeMutableRef(), 0, temp_block.rows());
res_col.column->assumeMutableRef().insertRangeFrom(*temp_block.getByPosition(0).column, 0, temp_block.rows());
return;
}
}