[ https://issues.apache.org/jira/browse/SPARK-11374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482812#comment-15482812 ]
Dongjoon Hyun commented on SPARK-11374: --------------------------------------- Which versions of Spark are you using now? For **one** line header removal, `spark-csv` package has the workaround for Spark 1.6.x and below. In addition, Spark 2.0 also supports that package natively. https://github.com/databricks/spark-csv If you want this as a SQL table option, we don't have a workaround. > skip.header.line.count is ignored in HiveContext > ------------------------------------------------ > > Key: SPARK-11374 > URL: https://issues.apache.org/jira/browse/SPARK-11374 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.5.1 > Reporter: Daniel Haviv > > csv table in Hive which is configured to skip the header row using > TBLPROPERTIES("skip.header.line.count"="1"). > When querying from Hive the header row is not included in the data, but when > running the same query via HiveContext I get the header row. > "show create table " via the HiveContext confirms that it is aware of the > setting. -- 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