Files
impala/testdata/workloads/functional-query/queries/QueryTest/parquet-zero-rows.test
Alex Behm 2a04b0e21a IMPALA-3943: Address post-merge comments.
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
2016-10-14 05:41:22 +00:00

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.
====