You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alexander Belov (JIRA)" <ji...@apache.org> on 2018/08/10 00:32:00 UTC

[jira] [Created] (SPARK-25082) Documentation for Spark Function expm1 is incomplete

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org