You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/07/13 12:29:00 UTC

[jira] [Resolved] (SPARK-35773) Parse year-month interval literals to tightest types

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

Wenchen Fan resolved SPARK-35773.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 32949
[https://github.com/apache/spark/pull/32949]

> Parse year-month interval literals to tightest types
> ----------------------------------------------------
>
>                 Key: SPARK-35773
>                 URL: https://issues.apache.org/jira/browse/SPARK-35773
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Max Gekk
>            Assignee: Kousuke Saruta
>            Priority: Major
>             Fix For: 3.2.0
>
>
> Modify AstBuilder.visitInterval to parse year-month interval literals to tightest types. For example:
> INTERVAL '10' YEAR should be parsed as YearMonthIntervalType(YEAR, YEAR) but not as YearMonthIntervalType(YEAR, MONTH).



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

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