[ 
https://issues.apache.org/jira/browse/SPARK-10656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14805123#comment-14805123
 ] 

Apache Spark commented on SPARK-10656:
--------------------------------------

User 'zhichao-li' has created a pull request for this issue:
https://github.com/apache/spark/pull/8811

> 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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to