Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.2.0
-
None
-
None
Description
If the SQL config spark.sql.legacy.interval.enabled is disabled (by default), parse interval literals as DayTimeIntervalType if the interval literal doesn't have the month field or YearMonthIntervalType of it doesn't have the day-time fields. In the case of mixed fields, throw an exception.
Attachments
Issue Links
- is duplicated by
-
SPARK-35773 Parse year-month interval literals to tightest types
- Resolved
- links to