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

Commit

Permalink
Catch out_of_range exception (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE authored Feb 27, 2022
1 parent 9b095f1 commit 4cfe29a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ 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 << validity << " = false;" << std::endl;
prepare_ss << "}" << std::endl;
prepare_ss << "}" << std::endl;

Expand Down

0 comments on commit 4cfe29a

Please sign in to comment.