Skip to content

Fluss fails to drop underlying paimon tables #2717

@TakodaS

Description

@TakodaS

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.8.0 (latest release)

Please describe the bug 🐞

Running the following in the Flink engine:

CREATE CATALOG fluss WITH (
    'type' = 'fluss',
    'bootstrap.servers' = 'localhost:9123'
);
USE CATALOG fluss;
CREATE DATABASE foo;
USE foo;

CREATE TABLE bar (
    id STRING
) WITH (
    'table.datalake.enabled' = 'true'
);
DROP TABLE bar;

CREATE TABLE bar (
    id STRING
) WITH (
    'table.datalake.enabled' = 'true'
);

Results in a failure on the last create statement with exception

CatalogException: The table foo.bar already exists in paimon catalog, please first drop the table in paimon catalog or use a new table name.

This suggests fluss fails to correctly delete the underlying paimon table, which I don't think is intended behavior.

EDIT: Fluss server.yaml:

datalake.format: paimon
datalake.paimon.warehouse: s3://paimon-warehouse/fluss-remote
datalake.paimon.s3.endpoint: http://minio:9000
datalake.paimon.s3.access-key: minioadmin
datalake.paimon.s3.secret-key: minioadmin
datalake.paimon.s3.path.style.access: true

s3.endpoint: http://minio:9000
s3.access-key: minioadmin
s3.secret-key: minioadmin
s3.path.style.access: true

data.dir: /tmp/fluss/data
remote.data.dir: s3://paimon-warehouse/fluss-remote

Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions