Skip to content

Store parquet volume metadata on the parquet tokencounts file #40

@bmschmidt

Description

@bmschmidt

I've been happily using feather the last year as a backend with volume metadata on the files.

But parquet is smaller than feather, and also supports volume and chunk-level metadata.

So rather than storing metadata in a separate .json file, I propose storing the data in the footer of the parquet file, and caching it when needed with pyarrow.parquet.read_metadata.

Reason:

  1. Fewer files. The big one for me--taking up 2x as many inodes is a problem in an HPC environment.
  2. More portable

Downsides:

  1. Requires a pyarrow dependency for parquet, rather than flexibility about using fastparquet instead.
  2. Requires either breaking exist pyarrow installations, or some term-unlimited multiple format support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions