You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2020/03/15 21:34:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17059824#comment-17059824 ]
L. C. Hsieh commented on SPARK-31156:
-------------------------------------
I checked current DataFrameStatFunctions. Both bloomFilter and countMinSketch also accept column name as String as parameter. Isn't? Do you mean you propose to add Column parameter support to other functions?
> 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