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/09/18 09:24:04 UTC
[jira] [Assigned] (SPARK-10656) select(df(*)) fails when a column
has special characters
[ https://issues.apache.org/jira/browse/SPARK-10656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-10656:
------------------------------------
Assignee: Apache Spark
> 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: Apache Spark
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org