Skip to content

[Feature] [python] Align ExternalPathProvider with Java multi-strategy support #8103

@zhoulii

Description

@zhoulii

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

The Java side supports multiple path selection strategies via ExternalPathProvider interface with three implementations. The Python side only had hard-coded round-robin logic, meaning:

  1. Tables configured with entropy-inject strategy would produce different directory layouts between Java and Python writers, breaking cross-engine reads
  2. Tables configured with weight-robin strategy could not be written by pypaimon at all

Solution

aligns pypaimon's ExternalPathProvider with the Java implementation by supporting all external path selection strategies: round-robin, specific-fs, entropy-inject, and weight-robin.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions