Skip to content

Commit

Permalink
[Fix](hive-writer) Fix the issue of block was not copied to do filter…
Browse files Browse the repository at this point in the history
…ing when hive partition writer write block to file.
  • Loading branch information
kaka11chen committed Mar 25, 2024
1 parent 69821c0 commit 49de120
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions be/src/vec/sink/writer/vhive_partition_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Status VHivePartitionWriter::_projection_and_filter_block(doris::vectorized::Blo
return status;
}
RETURN_IF_ERROR(vectorized::VExprContext::get_output_block_after_execute_exprs(
_vec_output_expr_ctxs, input_block, output_block));
_vec_output_expr_ctxs, input_block, output_block, true));
materialize_block_inplace(*output_block);

if (filter == nullptr) {
Expand Down Expand Up @@ -282,4 +282,4 @@ THivePartitionUpdate VHivePartitionWriter::_build_partition_update() {
}

} // namespace vectorized
} // namespace doris
} // namespace doris
Loading

0 comments on commit 49de120

Please sign in to comment.