Skip to content

Add option to configure Parquet DataPage version when writing #800

@hcrosse

Description

@hcrosse

Feature Request / Improvement

GetWriteProperties() hardcodes parquet.WithDataPageVersion(parquet.DataPageV2) with no way to override it. This causes issues with consumers that don't fully support DataPage V2 (e.g. Snowflake).

iceberg-java supports configuring this via WriteBuilder.writerVersion(), but iceberg-go has no equivalent.

I checked a few Iceberg library implementations, and iceberg-go is the only one I found that defaults to DataPage V2:

I propose that we add a way to configure DataPage version, similar to iceberg-java's WriteBuilder.writerVersion(). I think we should still keep the current default (V2) for backward compatibility.

I'm happy to discuss the best place to expose this in the API and to submit a PR for this if the approach is approved!

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