You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/03/15 03:12:00 UTC

[jira] [Updated] (SPARK-31156) DataFrameStatFunctions API is not consistent with respect to Column type

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

Hyukjin Kwon updated SPARK-31156:
---------------------------------
    Description: 
Some functions from {{org.apache.spark.sql.DataFrameStatFunctions}} class accepts {{org.apache.spark.sql.Column}} as an argument:
 * {{bloomFilter}}
 * {{countMinSketch}}

When the rest of the functions accept only {{String}} (or collections of {{String}}'s respectively):
 * {{approxQuantile}}
 * {{corr}}
 * {{cov}}
 * {{crosstab}}
 * {{freqItems}}
 * {{sampleBy}}

  was:
Some functions from {{org.apache.spark.sql.DataFrameStatFunctions}} class accepts {{org.apache.spark.sql.Column}} as an argument:
 * {{bloomFilter}}
 * {{countMinSketch}}

When the rest of the functions accept only {{String}} (or collections of {{String}}'s respectively):
 * {{ approxQuantile}}
 * {{corr}}
 * {{cov}}
 * {{crosstab}}
 * {{freqItems}}
 * {{sampleBy}}


> DataFrameStatFunctions API is not consistent with respect to Column type
> ------------------------------------------------------------------------
>
>                 Key: SPARK-31156
>                 URL: https://issues.apache.org/jira/browse/SPARK-31156
>             Project: Spark
>          Issue Type: Improvement
>          Components: Java API
>    Affects Versions: 2.4.4
>            Reporter: Oleksii Kachaiev
>            Priority: Minor
>
> Some functions from {{org.apache.spark.sql.DataFrameStatFunctions}} class accepts {{org.apache.spark.sql.Column}} as an argument:
>  * {{bloomFilter}}
>  * {{countMinSketch}}
> When the rest of the functions accept only {{String}} (or collections of {{String}}'s respectively):
>  * {{approxQuantile}}
>  * {{corr}}
>  * {{cov}}
>  * {{crosstab}}
>  * {{freqItems}}
>  * {{sampleBy}}



--
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