hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladyslav Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10176) skip.header.line.count causes values to be skipped when performing insert values
Date Wed, 09 Mar 2016 18:08:40 GMT

     [ https://issues.apache.org/jira/browse/HIVE-10176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladyslav Pavlenko updated HIVE-10176:
--------------------------------------
    Attachment: HIVE-10176.1.patch

Regex used as filter for data inserted by sql query.

> skip.header.line.count causes values to be skipped when performing insert values
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-10176
>                 URL: https://issues.apache.org/jira/browse/HIVE-10176
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Wenbo Wang
>         Attachments: HIVE-10176.1.patch, data
>
>
> When inserting values in to tables with TBLPROPERTIES ("skip.header.line.count"="1")
the first value listed is also skipped. 
> create table test (row int, name string) TBLPROPERTIES ("skip.header.line.count"="1");

> load data local inpath '/root/data' into table test;
> insert into table test values (1, 'a'), (2, 'b'), (3, 'c');
> (1, 'a') isn't inserted into the table. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message