Skip to content

[Bug] compact_database parameter mode default value is wrong #6934

@sd4324530

Description

@sd4324530

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

1.2.0

Compute Engine

flink 1.20.3

Minimal reproduce step

CALL sys.compact_database(
including_databases = > 'xxx'
);

What doesn't meet your expectations?

The documentation states that the default value for mode is combined, but the actual default value is divided.

https://github.com/apache/paimon/blob/master/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/MultiTablesSinkMode.java#L40

Image

Is the documentation wrong, or is the code implementation wrong?

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