[
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: [email protected]
For additional commands, e-mail: [email protected]