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] [Commented] (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:comment-tabpanel&focusedCommentId=14393642#comment-14393642 ] 

Apache Spark commented on SPARK-6686:
-------------------------------------

User 'marmbrus' has created a pull request for this issue:
https://github.com/apache/spark/pull/5337

> 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: Michael Armbrust
>            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