Quanlong Huang has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/18907 )
Change subject: IMPALA-11344: Missing slots in all cases should be allowed to be read ...................................................................... IMPALA-11344: Missing slots in all cases should be allowed to be read When selecting only the missing fields of ORC files and the missing fields contain non-partition fields, the query will fail due to `Parse error in possibly corrupt ORC file: '$filename'. No columns found for this scan`. We should allow read missing slots in all cases. Testing: - Added a test to test_scanners.py that ensures the query can be executed successfully when selecting only the missing fields of ORC files. Change-Id: I15dca47ba5f7a93bfd5fcba3cab4ac6d64459023 Reviewed-on: http://gerrit.cloudera.org:8080/18652 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Reviewed-on: http://gerrit.cloudera.org:8080/18907 Reviewed-by: Zoltan Borok-Nagy <[email protected]> --- M be/src/exec/orc-column-readers.cc M tests/query_test/test_scanners.py 2 files changed, 61 insertions(+), 22 deletions(-) Approvals: Zoltan Borok-Nagy: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/18907 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: branch-4.1.1 Gerrit-MessageType: merged Gerrit-Change-Id: I15dca47ba5f7a93bfd5fcba3cab4ac6d64459023 Gerrit-Change-Number: 18907 Gerrit-PatchSet: 2 Gerrit-Owner: Quanlong Huang <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Reviewer: ttttttz <[email protected]>
