Primary Key Index for Apache Iceberg: Fast Point Lookups and Upserts
summary
Proposes an Iceberg-native key lookup index that maps a key to file path and row position, enabling scan-time file pruning for point queries and converting streaming equality deletes into deletion vector position deletes. Shows a Spark-based prototype and an IndexCatalog integration, supports asynchronous incremental refresh, and cites a motivating example: a 10 TB table with 20,000 data files and 34,000 daily delete files that otherwise forces ~480 million file-pair checks. Notes Max’s six merged PRs that convert equality deletes as a validation of the approach.
AI-written summary · about
