forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-38879: [C++][Gandiva] Fix Gandiva to_date function's validat…
…ion for supress errors parameter (apache#38987) ### Rationale for this change * This PR fixes the `to_date_utf8_utf8_int32` gandiva function to avoid crash for invalid input ### What changes are included in this PR? * A bug fix for to_date_utf8_utf8_int32 parameter validation ### Are these changes tested? Yes, new tests are added to verify non literal input won't crash the to_date_utf8_utf8_int32 function ### Are there any user-facing changes? No * Closes: apache#38879 Authored-by: Yue Ni <niyue.com@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information
Showing
2 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters