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

Reply via email to