platypii opened a new pull request, #106:
URL: https://github.com/apache/parquet-site/pull/106

   Fixes #84 
   
   Updates the diagrams on the [Parquet 
Metadata](https://parquet.apache.org/docs/file-format/metadata/) page to be 
up-to-date with the latest thrift schema for parquet. I translated the 
parquet.thrift schema into mermaid js diagram format for `FileMetaData` and 
`PageHeader`.
   
   I included the mermaid files in the PR, which are plain text dependency 
graphs. This should make it easy to keep the diagrams updated as the parquet 
format evolves. To re-generate the svg files from the mermaid files, run:
   
   ```bash
   npm i -g @mermaid-js/mermaid-cli
   cd static/images
   mmdc -i FileMetaData.mermaid -o FileMetaData.svg
   mmdc -i PageHeader.mermaid -o PageHeader.svg
   ```
   
   The new diagrams look like:
   
   
![FileMetaData](https://github.com/user-attachments/assets/f4e477c6-4cbd-4855-bd4e-6e68efc7fac7)
   
   
![PageHeader](https://github.com/user-attachments/assets/b15d8761-bdc6-4c43-b753-137600e5e27c)
   
   _Note: Some of the png images in the `assets/images` folder had "executable" 
bit set. I did `chmod -x *.png` that's why they are in the diff._


-- 
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