You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/08/20 16:28:22 UTC
[jira] [Resolved] (SPARK-17124) RelationalGroupedDataset.agg should
be order preserving and allow duplicate column names
[ https://issues.apache.org/jira/browse/SPARK-17124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-17124.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
2.0.1
Issue resolved by pull request 14697
[https://github.com/apache/spark/pull/14697]
> RelationalGroupedDataset.agg should be order preserving and allow duplicate column names
> ----------------------------------------------------------------------------------------
>
> Key: SPARK-17124
> URL: https://issues.apache.org/jira/browse/SPARK-17124
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Peter Lee
> Assignee: Peter Lee
> Fix For: 2.0.1, 2.1.0
>
>
> See discussion on the mailing list: http://apache-spark-developers-list.1001551.n3.nabble.com/Re-Aggregations-with-scala-pairs-td18666.html
> {code}
> def agg(aggExpr: (String, String), aggExprs: (String, String)*): DataFrame = {
> agg((aggExpr +: aggExprs).toMap)
> }
> {code}
> The above implementation is not order preserving, and does not allow duplicate names.
--
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