Zoltán Borók-Nagy created IMPALA-15829:
------------------------------------------
Summary: IcebergFileDescriptor.hashCode() is 0 for files stored
with a relative path
Key: IMPALA-15829
URL: https://issues.apache.org/jira/browse/IMPALA-15829
Project: IMPALA
Issue Type: Bug
Components: Frontend
Reporter: Zoltán Borók-Nagy
IcebergFileDescriptor.hashCode() hashes getAbsolutePath(), which is empty for
files under the table location (they are stored with a relative path), so every
such descriptor has hash 0 and the HashSets of delete files degenerate into
lists.
With 20,000 file-scoped position delete files, planning a partition-filtered
query takes 5.7-7.6 s instead of 0.1-0.3 s when the same delete files have
absolute paths. A full scan of a table with 100,000 data files and 100,000
file-scoped position delete files takes 135-149 s instead of 53-67 s.
Fix: hash the relative path as well.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)