[feature-wip](multi-catalog) Support orc format file split for file scan node (#11046)

This commit is contained in:
huangzhaowei
2022-07-25 11:41:46 +08:00
committed by GitHub
parent d2457ce8f9
commit 54f878b781
5 changed files with 62 additions and 8 deletions

View File

@ -313,7 +313,7 @@ Status FileScanNode::get_next(RuntimeState* state, vectorized::Block* block, boo
} else {
if (_mutable_block->empty()) {
// directly use scanner_block
*block = *scanner_block;
*block = std::move(*scanner_block);
} else {
// copy _mutable_block firstly, then merge scanner_block into _mutable_block for next.
*block = _mutable_block->to_block();