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 2015/04/03 00:49:53 UTC

[jira] [Assigned] (SPARK-6686) toDF column rename does not work when columns contain '.'

     [ https://issues.apache.org/jira/browse/SPARK-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-6686:
-----------------------------------

    Assignee: Apache Spark  (was: Michael Armbrust)

> toDF column rename does not work when columns contain '.'
> ---------------------------------------------------------
>
>                 Key: SPARK-6686
>                 URL: https://issues.apache.org/jira/browse/SPARK-6686
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.0
>            Reporter: Michael Armbrust
>            Assignee: Apache Spark
>            Priority: Critical
>
> {code}
>   test("rename nested groupby") {
>     val df = Seq((1,(1,1))).toDF()
>     checkAnswer(
>       df.groupBy("_1").agg(col("_1"), sum("_2._1")).toDF("key", "total"),
>       Row(1, 1) :: Nil)
>   }
> {code}



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