-
Notifications
You must be signed in to change notification settings - Fork 246
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
What is the problem the feature request solves?
What is the problem the feature request solves?
We currently delegate to DataFusion when casting from string to date and there are some differences in behavior compared to Spark.
- Spark supports dates in the format
YYYYandYYYY-MMand DataFusion does not - Spark supports a trailing
Tas in2024-01-01Tand DataFusion does not - DataFusion doesn't throw an exception for invalid inputs in ANSI mode
Edge cases from fuzz testing:
| Input | Spark | DataFusion |
|---|---|---|
"-0973250" |
3251-01-01 |
null |
"-3638-5" |
3639-05-01 |
null |
Describe the potential solution
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed