41 points · by cloud8bits · 2w ago · 8 comments
Went looking to see if there was going to be anything open (mostly it's product pitch), found:
> Iceberg support builds on the Hudi-backed indexing work in Apache XTable (Incubating). We developed the design in the open with engineers from Uber and Walmart to support their planet-scale tables. The open RFC documents the storage layout, query path and consistency model.
> The design is settled and ships in Lakegres today; the Hudi implementation is being upstreamed and XTable is in release-candidate testing ahead of OSS releases that other engines can integrate.
With two links inline, https://github.com/apache/incubator-xtable/pull/935 https://github.com/apache/hudi/blob/master/rfc/rfc-109/rfc-1...
To answer this now:
a) Assuming the vectors are generated, its one additional set of sharded writes to object storage. updates/deletes are logged, then read side merged, during index lookup.
b) This is same as how secondary indexing works, and it adds about 10-15% more to writer pipeline. Most expensive part still remains producing columnar files for the actual data.
Hope that helps.