Skip to content

In DataFramePartitioner.DataFrameFunctions.repartitionByRecordCount use max instead of average to decide about partitoing #14

@benedeki

Description

@benedeki

Background

In DataFramePartitioner.DataFrameFunctions.repartitionByRecordCount the limit is compared against the average of records per partition. That can be under the limit while some partitions are still over the limit.

Feature

Change the method to decide about portioning based on the max of record counts per partition if to do or not the repartitioing.
Or make this parametrized or a dedicated method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions