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

Yin Huai resolved SPARK-10656.
------------------------------
       Resolution: Fixed
         Assignee: Wenchen Fan
    Fix Version/s: 1.6.0

This issue has been resolved by https://github.com/apache/spark/pull/9462.

> select(df(*)) fails when a column has special characters
> --------------------------------------------------------
>
>                 Key: SPARK-10656
>                 URL: https://issues.apache.org/jira/browse/SPARK-10656
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Nick Pritchard
>            Assignee: Wenchen Fan
>             Fix For: 1.6.0
>
>
> Best explained with this example:
> {code}
> val df = sqlContext.read.json(sqlContext.sparkContext.makeRDD(
>       """{"a.b": "c", "d": "e" }""" :: Nil))
> df.select("*").show()     //successful
> df.select(df("*")).show() //throws exception
> df.withColumnRenamed("d", "f").show() //also fails, possibly related
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to