[ https://issues.apache.org/jira/browse/SPARK-21791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-21791: ------------------------------------ Assignee: Apache Spark > ORC should support column names with dot > ---------------------------------------- > > Key: SPARK-21791 > URL: https://issues.apache.org/jira/browse/SPARK-21791 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.0, 2.1.0, 2.2.0 > Reporter: Dongjoon Hyun > Assignee: Apache Spark > > *PARQUET* > {code} > scala> Seq(Some(1), None).toDF("col.dots").write.parquet("/tmp/parquet_dot") > scala> spark.read.parquet("/tmp/parquet_dot").show > +--------+ > |col.dots| > +--------+ > | 1| > | null| > +--------+ > {code} > *ORC* > {code} > scala> Seq(Some(1), None).toDF("col.dots").write.orc("/tmp/orc_dot") > scala> spark.read.orc("/tmp/orc_dot").show > org.apache.spark.sql.catalyst.parser.ParseException: > mismatched input '.' expecting ':'(line 1, pos 10) > == SQL == > struct<col.dots:int> > ----------^^^ > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org