Nick Pritchard created SPARK-10656:
--------------------------------------

             Summary: 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