IMPALA-4369: Avoid DCHECK in Parquet scanner with MT_DOP > 0.

When HdfsParquetScanner::Open() failed we used to hit a DCHECK
when trying to access HdfsParquetScanner::batch() which is
only valid to call for non-MT scan nodes.

Change-Id: Ifbfdde505dbbd2742e7ab79a2415ff317a9bfa2f
Reviewed-on: http://gerrit.cloudera.org:8080/4851
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Internal Jenkins
This commit is contained in:
Alex Behm
2016-10-25 17:53:59 -07:00
committed by Internal Jenkins
parent c01644bcb9
commit f7d71950e3
3 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
====
---- QUERY
# IMPALA-4369: Parquet file with invalid metadata size in the file footer.
select * from functional_parquet.bad_metadata_len
---- CATCH
Invalid metadata size in file footer
====