You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/08/28 09:17:00 UTC

[jira] [Commented] (SPARK-36606) Enhance the docs and tests of try_add/try_divide

    [ https://issues.apache.org/jira/browse/SPARK-36606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406163#comment-17406163 ] 

Apache Spark commented on SPARK-36606:
--------------------------------------

User 'gengliangwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/33861

> Enhance the docs and tests of try_add/try_divide
> ------------------------------------------------
>
>                 Key: SPARK-36606
>                 URL: https://issues.apache.org/jira/browse/SPARK-36606
>             Project: Spark
>          Issue Type: Sub-task
>          Components: docs, Tests
>    Affects Versions: 3.2.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Minor
>
> The try_add function allows the following inputs:
> * number, number
> * date, number
> * date, interval
> * timestamp, interval
> * interval, interval
> And, the try_divide function allows the following inputs:
> * number, number
> * interval, number
> However, in the current code, there are only examples and tests about the (number, number) inputs. We should enhance the docs to let users know that the functions can be used for datetime and interval operations too.



--
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