Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.4.0, 3.2.0, 4.0.0
-
None
-
None
Description
Create a table with header and footer as follows.
CREATE EXTERNAL TABLE IF NOT EXISTS externaltableOpenCSV (eid int, name String, salary String, destination String) COMMENT 'Employee details' ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde' STORED AS TEXTFILE LOCATION '/externaltableOpenCSV' tblproperties ("skip.header.line.count"="1", "skip.footer.line.count"="2");
Now, query on this table returns incorrect row count as header/footer are not skipped.
Attachments
Attachments
Issue Links
- Is contained by
-
HIVE-21924 Split text files even if header/footer exists
- Closed
- links to