hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-5795) Hive should be able to skip header and footer rows when reading data file for a table
Date Tue, 31 Dec 2013 03:45:52 GMT


Hive QA commented on HIVE-5795:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 4818 tests executed
*Failed tests:*

Test results:
Console output:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 7 tests failed

This message is automatically generated.


> Hive should be able to skip header and footer rows when reading data file for a table
> -------------------------------------------------------------------------------------
>                 Key: HIVE-5795
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Shuaishuai Nie
>            Assignee: Shuaishuai Nie
>         Attachments: HIVE-5795.1.patch, HIVE-5795.2.patch, HIVE-5795.3.patch, HIVE-5795.4.patch
> Hive should be able to skip header and footer lines when reading data file from table.
In this way, user don't need to processing data which generated by other application with
a header or footer and directly use the file for table operations.
> To implement this, the idea is adding new properties in table descriptions to define
the number of lines in header and footer and skip them when reading the record from record
reader. An DDL example for creating a table with header and footer should be like this:
> {code}
> Create external table testtable (name string, message string) row format delimited fields
terminated by '\t' lines terminated by '\n' location '/testtable' tblproperties ("skip.header.line.count"="1",
> {code}

This message was sent by Atlassian JIRA

View raw message