Hi everyone, I'd like to share a proposal [1] for a new data layout in Parquet. This builds on the previous "non-contiguous pages" proposal, with the primary change of using the modular footer [3] to efficiently represent the new layout. The main principle behind this proposal is that today's row group / column chunk structure is reasonable when all columns are uniformly sized, but breaks down when column sizes or densities vary. In these cases, writers should be able to continue buffering data for the smaller columns while cutting pages for larger ones rather than forcefully cutting pages for all columns simply because a row group boundary is reached. Looking forward to everyone's review and discussion of this idea!
Best, Div Arora [1] https://docs.google.com/document/d/1ile7q-UnXmQI-5DyLq9g11SoswIQGqNUssx-0qvJwqM/edit?tab=t.0#heading=h.2xkrks3wvlbv [2] https://docs.google.com/document/d/1nntcYM98PFSkHT70RexSBPtCnWqg1uRJ5_7m--ZgbsA/edit?tab=t.0#heading=h.k4r8orckhbx0 [3] https://docs.google.com/document/d/1xN4Nqh-fh-eH-cUz9e6Rqs_gPXRBKUh4s29EzX_NU8M/edit?tab=t.cbl5qtgc5xhz
