spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-25082) Documentation for Spark Function expm1 is incomplete
Date Thu, 16 Aug 2018 06:17:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-25082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hyukjin Kwon resolved SPARK-25082.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

Issue resolved by pull request 22115
[https://github.com/apache/spark/pull/22115]

> 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.0.0, 2.3.1
>            Reporter: Alexander Belov
>            Assignee: Bo Meng
>            Priority: Trivial
>              Labels: documentation, easyfix
>             Fix For: 2.4.0
>
>
> 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


Mime
View raw message