Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using partitioned parquet files #121

Open
tomalrussell opened this issue Nov 4, 2022 · 0 comments
Open

Consider using partitioned parquet files #121

tomalrussell opened this issue Nov 4, 2022 · 0 comments

Comments

@tomalrussell
Copy link
Member

Parquet allows readers/writers to treat a set of files under a directory as a single dataset, with the option to specify partitions based on data values that are then encoded into the directory structure, for example: roads.parquet/highway=primary/slice=1/part0.parquet

For Python, the key docs are:

Some questions:

  • what would be the benefits for open-gira intermediate or results datasets? At the least, it could reduce particularly large file sizes and avoid (or simplify) the concatenation steps as currently implemented.
  • how would the file/directory structure interact with snakemake? Would we need additional flags or workarounds?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant