You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Junqing Cai (Jira)" <ji...@apache.org> on 2021/04/07 03:04:00 UTC

[jira] [Commented] (SPARK-34975) skip.header.line.count is not work in hive partitioned table

    [ https://issues.apache.org/jira/browse/SPARK-34975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315926#comment-17315926 ] 

Junqing Cai commented on SPARK-34975:
-------------------------------------

I think this issue fix the problem in non-partitioned table

https://issues.apache.org/jira/browse/SPARK-11374

 

but the partitioned table still not work

> skip.header.line.count is not work in hive partitioned table
> ------------------------------------------------------------
>
>                 Key: SPARK-34975
>                 URL: https://issues.apache.org/jira/browse/SPARK-34975
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.1, 2.4.0
>            Reporter: Junqing Cai
>            Priority: Major
>
> when I use spark2.4 create external hive partitioned table with csv file, and 
> {code:java}
> TBLPROPERTIES (
> 'skip.header.line.count' = '1'
> )
> LOCATION 'XXXX'{code}
>  
> the result of hive dosen't contain header, but result of spark also contain header
>  
> but if I create table in hive, the result of spark is correct
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org