Gengliang Wang created SPARK-36606:
--------------------------------------
Summary: 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
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]