Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-38879: [C++][Gandiva] Fix Gandiva to_date function's validation fo… #74

Merged

Conversation

DenisTarasyuk
Copy link

…r 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

Authored-by: Yue Ni niyue.com@gmail.com

…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>
Copy link

❌ GitHub issue apache#38879 could not be retrieved.

@DenisTarasyuk DenisTarasyuk merged commit 59d8fba into dremio:dremio_25.0_14.0 May 21, 2024
3 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants