You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <131180287+DenisTarasyuk@users.noreply.github.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
0 commit comments