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

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Jan 5, 2022
1 parent 93e9ba6 commit 3ec5afe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ arrow::Status ExpressionCodegenVisitor::Visit(const gandiva::FunctionNode& node)
prepare_ss << "}" << std::endl;
prepare_str_ += prepare_ss.str();
check_str_ = validity;
} else if (func_name.compare("translate")) {
} else if (func_name.compare("translate") == 0) {
codes_str_ = func_name + "_" + std::to_string(cur_func_id);
auto validity = codes_str_ + "_validity";
real_codes_str_ = codes_str_;
Expand Down

0 comments on commit 3ec5afe

Please sign in to comment.