You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/08/21 21:36:20 UTC
[jira] [Commented] (SPARK-17177) Make grouping columns accessible
from RelationalGroupedDataset
[ https://issues.apache.org/jira/browse/SPARK-17177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429903#comment-15429903 ]
Apache Spark commented on SPARK-17177:
--------------------------------------
User 'NarineK' has created a pull request for this issue:
https://github.com/apache/spark/pull/14742
> Make grouping columns accessible from RelationalGroupedDataset
> --------------------------------------------------------------
>
> Key: SPARK-17177
> URL: https://issues.apache.org/jira/browse/SPARK-17177
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Reporter: Narine Kokhlikyan
> Priority: Minor
>
> Currently, once we create `RelationalGroupedDataset`, we cannot access the grouping columns from its instance.
> Analog to `Dataset` we can have a public method which returns the list of grouping columns.
> https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala#L457
> This can be useful for instance in SparkR when we want to have certain logic associated with the grouping columns, accessible from `RelationalGroupedDataset`.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org