I think you're right. The only difference is that statistics is optional but the field in the header is required.
Best, Gang On Wed, Oct 8, 2025 at 8:12 PM Antoine Pitrou <[email protected]> wrote: > > Hello, > > It seems a V2 data page can have its number of nulls recorded in two > adjacent locations: > 1. the `num_nulls` field in `DataPageHeaderV2` > 2. the `null_count` field in `DataPageHeaderV2.statistics` > > Is this interpretation right? Or do those two fields actually have > different semantics. > > Regards > > Antoine. > > >
