Alexander Belov created SPARK-25082:
---------------------------------------
Summary: Documentation for Spark Function expm1 is incomplete
Key: SPARK-25082
URL: https://issues.apache.org/jira/browse/SPARK-25082
Project: Spark
Issue Type: Documentation
Components: Spark Core
Affects Versions: 2.3.1, 2.0.0
Reporter: Alexander Belov
The documentation for the function expm1 that takes in a string
public static
[Column|https://spark.apache.org/docs/2.3.1/api/java/org/apache/spark/sql/Column.html]
expm1(String columnName)
([https://spark.apache.org/docs/2.3.1/api/java/org/apache/spark/sql/functions.html#expm1-java.lang.String-)]
States that it "Computes the exponential of the given column." without
mentioning that it first subtracts 1 from the value.
The documentation for the function expm1 that takes in a column has the correct
documentation:
https://spark.apache.org/docs/2.3.1/api/java/org/apache/spark/sql/functions.html#expm1-org.apache.spark.sql.Column-
"Computes the exponential of the given value minus one."
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]