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:24:22 UTC

[jira] [Updated] (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 updated SPARK-17124:
--------------------------------
    Assignee: Peter Lee

> 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
>
> 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