Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/14638
  
    Yes. Right, that is possible, but it's a different use case.
    
    This PR supports the followings:
    - The **existing Hive table** with 
`TBLPROPERTIES(skip.header.line.count=1)` will show the same result in Hive & 
Spark.
      Previously, Spark ignores that option. So, Spark shows incorrect result 
for that table.
    - And, vice versa, the **table created by Spark** will show the same result 
in Hive & Spark.
    
    This is not a hidden Hive feature. It was
    - Reported by `Daniel Haviv` (Oct. 2015)
    - Asked by `Stephane Maarek` (Apr. 2016)
    - Asked by `Rahul Jain` (Sep. 2016)
    
    Also, there is a StackOverflow question.
    - 
http://stackoverflow.com/questions/38566591/spark-sql-hivecontext-dont-ignore-header


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to