You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ankit Raj Boudh (Jira)" <ji...@apache.org> on 2020/04/28 07:05:00 UTC
[jira] [Commented] (SPARK-31586) Replace expression TimeSub(l, r)
with TimeAdd(l -r)
[ https://issues.apache.org/jira/browse/SPARK-31586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094217#comment-17094217 ]
Ankit Raj Boudh commented on SPARK-31586:
-----------------------------------------
Hi Kent Yao, are you working on this issue ?, if not can i start working on this issue.
> 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
> Priority: Minor
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org