Skip to content

Use latest Parquet version for writing #359

Closed
@jonashaag

Description

@jonashaag

Feature Request / Improvement

The current code always uses Parquet version 1.0 for writing:

with pq.ParquetWriter(fos, schema=file_schema, version="1.0", metadata_collector=collected_metrics) as writer:

This version is already over 10 years old. All Parquet readers I know do support much more recent versions. With Python 3.8 you can get PyArrow 15 which supports the latest version of Parquet. IMO we should default to using a more recent version (maybe always use the most recent?) and offer an option to change the Parquet version.

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