Skip to content

Commit

Permalink
[BugFix](VExprContext) capture error status to prevent incorrect func…
Browse files Browse the repository at this point in the history
… call which causes coredump apache#12779
  • Loading branch information
ByteYue authored and Yijia Su committed Oct 8, 2022
1 parent 5be51b1 commit 44ec647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/exprs/vexpr_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Status VExprContext::filter_block(VExprContext* vexpr_ctx, Block* block, int col
return Status::OK();
}
int result_column_id = -1;
vexpr_ctx->execute(block, &result_column_id);
RETURN_IF_ERROR(vexpr_ctx->execute(block, &result_column_id));
return Block::filter_block(block, result_column_id, column_to_keep);
}

Expand Down

0 comments on commit 44ec647

Please sign in to comment.