[ https://issues.apache.org/jira/browse/SPARK-36170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-36170. ------------------------------ Fix Version/s: 3.2.0 Resolution: Fixed Issue resolved by pull request 33380 [https://github.com/apache/spark/pull/33380] > Change quoted interval literal (interval constructor) to be converted to ANSI > interval types > -------------------------------------------------------------------------------------------- > > Key: SPARK-36170 > URL: https://issues.apache.org/jira/browse/SPARK-36170 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.2.0, 3.3.0 > Reporter: Kousuke Saruta > Assignee: Kousuke Saruta > Priority: Major > Fix For: 3.2.0 > > > The tnit-to-unit interval literals and the unit list interval literals are > converted to ANSI interval types but quoted interval literals are still > converted to CalendarIntervalType. > {code} > -- Unit list interval literals > spark-sql> select interval 1 year 2 month; > 1-2 > -- Quoted interval literals > spark-sql> select interval '1 year 2 month'; > 1 years 2 months > {code} -- 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