Description
Extend the Abs expression to support ANSI intervals: YearMonthIntervalType and DayTimeIntervalType. For instance:
spark-sql> select abs(interval -'1-1' year to month); 1-1
Extend the Abs expression to support ANSI intervals: YearMonthIntervalType and DayTimeIntervalType. For instance:
spark-sql> select abs(interval -'1-1' year to month); 1-1