mapleFU commented on PR #14351:
URL: https://github.com/apache/arrow/pull/14351#issuecomment-1348095811

   > It would probably be easy to find out, in any case.
   
   @pitrou You're right, I made a mistake and misundering the format here.
   
   The `data` format in memory is just:
   
   ```
   - Data page Layout: Repetition Levels - Definition Levels - encoded values.
   - Levels are encoded as rle or bit-packed.
   - Init repetition levels
   ```
   
   So, both calculating and verify should just share the same logic:
   
   ```
   crc = checksum(data)
   ```
   
   Here. Previously I make a mistake that DATA_PAGE_V2 stores it on header. So 
sorry for that.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to