Riza Suminto has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20769


Change subject: IMPALA-12589: Ignore FbFileDesc.absolutePath() if it is 
null/empty
......................................................................

IMPALA-12589: Ignore FbFileDesc.absolutePath() if it is null/empty

IMPALA-11507 missed a case where both FileDescriptor.getRelativePath()
and FbFileDesc.absolutePath() are null/empty. This patch fix the bug so
that FileDescriptor.getpath() and FileDescriptor.getAbsolutePath() do no
not fallback to FbFileDesc.absolutePath() if it is null/empty.

Testing:
Add test_scanner.py::TestSingleFileTable

Change-Id: I15d811430871cd1319d9560901318c1c3b89403c
---
M fe/src/main/java/org/apache/impala/catalog/FeFsTable.java
M fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java
M tests/query_test/test_scanners.py
3 files changed, 61 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/69/20769/1
--
To view, visit http://gerrit.cloudera.org:8080/20769
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I15d811430871cd1319d9560901318c1c3b89403c
Gerrit-Change-Number: 20769
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com>

Reply via email to