PengLei created SPARK-35852: ------------------------------- Summary: Improve the implementation for DateType +/- DayTimeIntervalType(DAY) Key: SPARK-35852 URL: https://issues.apache.org/jira/browse/SPARK-35852 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 3.2.0 Reporter: PengLei Fix For: 3.2.0
At now, `DateType +/- DayTimeIntervalType()` will convert the DateType to TimestampType, then TimeAdd. When interval type is DayTimeIntervalType(DAY), it can use DateAdd instead of TimeAdd. -- 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