Skip to content

[Bug] Discrepancy in Paimon Procedures documentation #7197

@junmuz

Description

@junmuz

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

1.3.1

Compute Engine

Flink / Spark

Minimal reproduce step

Flink SQL> CALL sys.remove_orphan_files(`table` => 'test_db.test_table', dry_run => true, parallelism => '4');
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.table.api.ValidationException: Invalid argument type at position 3. Data type INT expected but CHAR(1) NOT NULL passed.

Similar error is seen with Spark as well.

What doesn't meet your expectations?

The documentation provides example with parallelism values as string, though the code suggests that these need to be integers.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions