Skip to content

Row count limit for each row group #3235

Description

@pan3793

Describe the enhancement requested

In some compute engines, like Spark, the Parquet row group is the minimally splittable unit for scanning tasks. Currently, only the row group size is configurable (via parquet.block.size) when writing Parquet files. In some cases, especially for fewer columns with many duplicated values, one row group may have tons of records, thus causes extremely bad performance on downstream Spark queries.

Image

I propose to make the row count limit for each row group configurable. ORC-1172 also has a similar configuration.

Component(s)

Core

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions