Skip to content

[CLI] Missing URI in .pyiceberg.yaml does not cause error for Hive catalog #3069

@limenilbuz

Description

@limenilbuz

Apache Iceberg version

0.10.0 (latest release)

Please describe the bug 🐞

I am actually using the latest release, 0.11.0, but the Github issue wizard did not let me choose that.

A sample .pyiceberg.yaml file that would cause this issue:

catalog:
  my_hive_catalog:
    type: hive
    warehouse: warehouse_loc

The observed behavior:

$ pyiceberg --catalog my_hive_catalog list
'uri'

I'd expect some error about the missing uri, not just printing out the string.

Adding the correct uri to the .pyiceberg.yaml file resolves the issue.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions