Kent Yao created SPARK-31586:
--------------------------------
Summary: Replace expression TimeSub(l, r) with TimeAdd(l -r)
Key: SPARK-31586
URL: https://issues.apache.org/jira/browse/SPARK-31586
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.1.0
Reporter: Kent Yao
The implementation of TimeSub for the operation of timestamp subtracting
interval is almost repetitive with TimeAdd. We can replace it with TimeAdd(l,
-r) since there are equivalent.
Suggestion from https://github.com/apache/spark/pull/28310#discussion_r414259239
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]