Daniel Vanko has uploaded this change for review. ( 
https://gerrit.cloudera.org/25606


Change subject: IMPALA-15873: Fix Iceberg file sort for absolute paths
......................................................................

IMPALA-15873: Fix Iceberg file sort for absolute paths

FileDescriptor.getPathAsByteBuffer() only fell back to the absolute
path when the relative path buffer was null. For files that only have an
absolute path the relative path is stored as an empty string, so all of
them compared equal and the sort in IcebergScanNode (IMPALA-12765) did
nothing. Fall back when the buffer is empty too.

Testing: added FileDescriptorTest.

Change-Id: I7bd66a60cd8567f53929a71fb857612b01ca5ccb
Assisted-by: Claude Opus 5.5 (Claude Code)
---
M fe/src/main/java/org/apache/impala/catalog/FileDescriptor.java
A fe/src/test/java/org/apache/impala/catalog/FileDescriptorTest.java
2 files changed, 51 insertions(+), 1 deletion(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7bd66a60cd8567f53929a71fb857612b01ca5ccb
Gerrit-Change-Number: 25606
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Vanko <[email protected]>

Reply via email to