[ 
https://issues.apache.org/jira/browse/SPARK-35749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kousuke Saruta updated SPARK-35749:
-----------------------------------
    Description: 
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`.

  was:
Currently, single unit field interval literals like `interval '1' day` or 
`interval '2' hour` are parsed as `CalendarIntervalType`.
Such fields should be parsed as `DayTimeIntervalType`.


> Parse multiple unit fields 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, 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`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to