Skip to content

SQL catalog ignores name supplied #1990

@cornerwings

Description

@cornerwings

Apache Iceberg Rust version

0.6.0 (latest version)

Describe the bug

SQL catalog's load method just ignores name argument passed and always uses default value (""). This means when opening existing catalog, it fails to find namespaces or incorrectly finds namespaces.

Value is assigned in below line but catalog config is never updated.
https://github.com/apache/iceberg-rust/blob/main/crates/catalog/sql/src/catalog.rs#L139

To Reproduce

No response

Expected behavior

Name passed to load method should be used to initialize config correctly.

Willingness to contribute

I can contribute a fix for this bug independently

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