[
https://issues.apache.org/jira/browse/SPARK-36920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-36920.
----------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
Issue resolved by pull request 34169
[https://github.com/apache/spark/pull/34169]
> Support ANSI intervals by ABS
> -----------------------------
>
> Key: SPARK-36920
> URL: https://issues.apache.org/jira/browse/SPARK-36920
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Max Gekk
> Assignee: Max Gekk
> Priority: Major
> Fix For: 3.3.0
>
>
> Extend the Abs expression to support ANSI intervals: YearMonthIntervalType
> and DayTimeIntervalType. For instance:
> {code:sql}
> spark-sql> select abs(interval -'1-1' year to month);
> 1-1
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]