Skip to content

fix inconsistent string to date casting#912

Merged
lihao712 merged 1 commit intomasterfrom
fix-str2date-cast
Mar 25, 2025
Merged

fix inconsistent string to date casting#912
lihao712 merged 1 commit intomasterfrom
fix-str2date-cast

Conversation

@richox
Copy link
Contributor

@richox richox commented Mar 25, 2025

in current implementation, cast('2025-01' as date) returns null, while spark returns '2025-01-01'. we should keep the same behaviour with spark.

@richox richox force-pushed the fix-str2date-cast branch from ec6ed43 to fb34080 Compare March 25, 2025 09:02
@lihao712 lihao712 merged commit fe8aa24 into master Mar 25, 2025
618 checks passed
@richox richox mentioned this pull request Apr 27, 2025
@cxzl25 cxzl25 deleted the fix-str2date-cast branch September 5, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants