Skip to content

pyiceberg write an extra .db in the schema path #2052

Open
@djouallah

Description

@djouallah

Apache Iceberg version

0.9.1

Please describe the bug 🐞

pyiceberg add an extra .dot in the path, is there a way to turn it off.

from   pyiceberg.catalog.sql import SqlCatalog
catalog = SqlCatalog(
      "default",
      **{
          "uri"                : "sqlite:////tmp/pyiceberg.db",
          "legacy-current-snapshot-id": True ,
          "warehouse" : "/lakehouse/default/Files"
      },
                        )
schema         = "simple"
catalog.create_namespace_if_not_exists(schema)
catalog.list_tables(schema)
Image

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions