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

DX-24037 port to 24.2_12 #56

Merged
merged 1 commit into from
Nov 2, 2023
Merged

DX-24037 port to 24.2_12 #56

merged 1 commit into from
Nov 2, 2023

Conversation

DenisTarasyuk
Copy link

apache#37609) (#48)

Added fix for case when pattern does not contain day part

Rationale for this change

TO_DATE Gandiva function returns wrong result if used with pattern 'YYYY-MM' or 'YYYY'.

What changes are included in this PR?

Add a fix for case when tm_mday is zero to set it to 1

Are these changes tested?

Added tests that cover described cases

Are there any user-facing changes?

No

Authored-by: DenisTarasyuk [email protected]

…YYYY (apache#37609) (#48)

Added fix for case when pattern does not contain day part

### Rationale for this change

TO_DATE Gandiva function returns wrong result if used with pattern 'YYYY-MM' or 'YYYY'.

### What changes are included in this PR?

Add a fix for case when tm_mday is zero to set it to 1

### Are these changes tested?

Added tests that cover described cases

### Are there any user-facing changes?

No

* Closes: apache#37608

Authored-by: DenisTarasyuk <[email protected]>

Signed-off-by: Sutou Kouhei <[email protected]>
@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

In the case of PARQUET issues on JIRA the title also supports:

PARQUET-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

See also:

@DenisTarasyuk DenisTarasyuk merged commit 850ae5a into dremio_24.2_12.0 Nov 2, 2023
15 of 73 checks passed
@DenisTarasyuk DenisTarasyuk deleted the DX-24037_prt branch November 2, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant