You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/04/03 03:31:52 UTC
[jira] [Resolved] (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 ]
Michael Armbrust resolved SPARK-6686.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
1.3.1
Issue resolved by pull request 5337
[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
> Fix For: 1.3.1, 1.4.0
>
>
> {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