Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
fix codegen with out_of_range check (#744)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan authored Feb 28, 2022
1 parent 4cfe29a commit 0cbc442
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ arrow::Status ExpressionCodegenVisitor::Visit(const gandiva::FunctionNode& node)
<< ");" << std::endl;
prepare_ss << "} catch (std::invalid_argument) {" << std::endl;
prepare_ss << validity << " = false;" << std::endl;
prepare_ss << "} catch (std::out_of_range)" << std::endl;
prepare_ss << "} catch (std::out_of_range) {" << std::endl;
prepare_ss << validity << " = false;" << std::endl;
prepare_ss << "}" << std::endl;
prepare_ss << "}" << std::endl;
Expand Down

0 comments on commit 0cbc442

Please sign in to comment.