Skip to content

Remove extraneous trailing slash in table location #606

Closed
@Vitalii0-o

Description

@Vitalii0-o

Apache Iceberg version

0.6.0 (latest release)

Please describe the bug 🐞

reating an Iceberg table from spark-3.2 with pyiceberg runtime 0.6.0 with location s3://bucket/db/tbl/ will cause underlying files be like s3://bucket/db/tbl//data/xxx. This leads to other system (e.g. Trino) file not found exception as those system will remove the duplicated slash in the string (s3://bucket/db/tbl/data/xxx).

I think the right behavior should be letting iceberg remove extraneous trailing slash in table location. i.e. when setting the table location as s3://bucket/db/tbl/. the trailing / should be removed.

In iceberg еhis issue has been solved -
apache/iceberg#4582

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions