You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2021/08/28 09:12:00 UTC
[jira] [Created] (SPARK-36606) Enhance the docs and tests of
try_add/try_divide
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org