[
https://issues.apache.org/jira/browse/SPARK-35749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kousuke Saruta updated SPARK-35749:
-----------------------------------
Description:
Currently, unit list interval literals like `interval '1' year '2' months` or
`interval '1' day` or `interval '2' hours` are parsed as `CalendarIntervalType`.
Such fields should be parsed as `YearMonthIntervalType` or
`DayTimeIntervalType`.
was:
Currently, single unit field interval literals like `interval '1' year '2'
months` or `interval '1' day` or `interval '2' hours` are parsed as
`CalendarIntervalType`.
Such fields should be parsed as `YearMonthIntervalType` or
`DayTimeIntervalType`.
> Parse unit list interval literals as year-month/day-time interval types
> -----------------------------------------------------------------------
>
> Key: SPARK-35749
> URL: https://issues.apache.org/jira/browse/SPARK-35749
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Kousuke Saruta
> Priority: Major
>
> Currently, unit list interval literals like `interval '1' year '2' months` or
> `interval '1' day` or `interval '2' hours` are parsed as
> `CalendarIntervalType`.
> Such fields should be parsed as `YearMonthIntervalType` or
> `DayTimeIntervalType`.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]