[
https://issues.apache.org/jira/browse/SPARK-36606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-36606.
----------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 33861
[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
> Fix For: 3.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]