Aleksandr Efimov has uploaded this change for review. ( 
https://gerrit.cloudera.org/25416


Change subject: IMPALA-15788: Fix Iceberg scheme-only paths
......................................................................

IMPALA-15788: Fix Iceberg scheme-only paths

A table location such as hdfs:///warehouse/t is normalized by Hadoop
Path to hdfs:/warehouse/t. quickGetPath() retains that scheme while
stripping the scheme and authority from a fully qualified content-file
path. The resulting descriptor lookup misses an already loaded file.

Strip the scheme from authority-free paths too. Add full-load and
incremental-append regressions, with qualified and absolute-path controls.

Testing:
- Exact changed class and test compiled in a focused Linux environment.
- Unchanged master: two regression failures and two passing controls.
- Candidate: all four path tests pass.

Change-Id: Icb27550cf7586c28e17a39e45f239ae76ff5af28
---
M fe/src/main/java/org/apache/impala/catalog/IcebergContentFileStore.java
A 
fe/src/test/java/org/apache/impala/catalog/IcebergContentFileStorePathTest.java
2 files changed, 123 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/16/25416/1
--
To view, visit https://gerrit.cloudera.org/25416
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb27550cf7586c28e17a39e45f239ae76ff5af28
Gerrit-Change-Number: 25416
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>

Reply via email to