mirror of
https://github.com/apache/impala.git
synced 2026-01-01 18:00:30 -05:00
Adds code comments and issues a warning for Parquet files with num_rows=0 but at least one non-empty row group. Change-Id: I72ccf00191afddb8583ac961f1eaf11e5eb28791 Reviewed-on: http://gerrit.cloudera.org:8080/4696 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins
32 lines
625 B
Plaintext
32 lines
625 B
Plaintext
====
|
|
---- QUERY
|
|
select * from zero_rows_zero_row_groups
|
|
---- TYPES
|
|
int
|
|
---- RESULTS
|
|
====
|
|
---- QUERY
|
|
select count(*) from zero_rows_zero_row_groups
|
|
---- TYPES
|
|
bigint
|
|
---- RESULTS
|
|
0
|
|
====
|
|
---- QUERY
|
|
select * from zero_rows_one_row_group
|
|
---- TYPES
|
|
int
|
|
---- RESULTS
|
|
---- ERRORS
|
|
File '__HDFS_FILENAME__' is corrupt: metadata indicates a zero row count but there is at least one non-empty row group.
|
|
====
|
|
---- QUERY
|
|
select count(*) from zero_rows_one_row_group
|
|
---- TYPES
|
|
bigint
|
|
---- RESULTS
|
|
0
|
|
---- ERRORS
|
|
File '__HDFS_FILENAME__' is corrupt: metadata indicates a zero row count but there is at least one non-empty row group.
|
|
====
|