Simeon Simeonov created SPARK-16210: ---------------------------------------
Summary: DataFrame.drop(colName) fails if another column has a period in its name Key: SPARK-16210 URL: https://issues.apache.org/jira/browse/SPARK-16210 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 1.6.1 Environment: Spark 1.6.1 on Databricks Reporter: Simeon Simeonov The following code fails with {{org.apache.spark.sql.AnalysisException: cannot resolve 'x.y' given input columns: [abc, x.y]}} because of the way {{drop()}} uses {{select()}} under the covers. {code} val rdd = sc.makeRDD("""{"x.y": 5, "abc": 10}""" :: Nil) sqlContext.read.json(rdd).drop("abc") {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