Skip to content

Commit

Permalink
chore: codefmt
Browse files Browse the repository at this point in the history
Signed-off-by: Kould <[email protected]>
  • Loading branch information
KKould committed Jan 16, 2025
1 parent 0dd2a52 commit db5e4ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions be/src/exprs/try_expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class TryExpr final : public Expr {

StatusOr<ColumnPtr> evaluate_checked(ExprContext* context, Chunk* chunk) override {
auto&& status = _children[0]->evaluate_checked(context, chunk);
if (LIKELY(status.ok())) {
return status;
}
return ColumnHelper::create_const_null_column(chunk->num_rows());
if (LIKELY(status.ok())) {
return status;
}
return ColumnHelper::create_const_null_column(chunk->num_rows());
}

Expr* clone(ObjectPool* pool) const override { return pool->add(new TryExpr(*this)); }
Expand All @@ -46,4 +46,4 @@ Expr* TryExprFactory::from_thrift(const TExprNode& node) {
return new TryExpr(node);
}

}
} // namespace starrocks

0 comments on commit db5e4ee

Please sign in to comment.