Skip to content

Load catalog 'bi_31' but give me catalog 'hive' #2541

@lihuan92

Description

@lihuan92

Question

I use the following code to load the catalog 'bi_31', but it always ends up loading the 'hive' catalog. Does it only support loading the default catalog?

catalog_config = {
    "type":"hive",
    'uri': "thrift://10.108.*.*:32087",
    'warehouse': "s3a://*/*-*-c046a938/bi_31",
    's3.endpoint': "https://ecs01.*.com:9021",
    's3.access-key-id': "AKIA7EB2AEE90E****",
    's3.secret-access-key': "yde7zJK84b4nQEU/95epyi7l****",
}
catalog = load_catalog(name="bi_31", **catalog_config)

Environment Details:
PyIceberg Version: 0.10.0
PyArrow Version: 21.0.0
Boto3 Version: 1.34.54
Python Version: 3.10.1

Any answers or help would be greatly appreciated.

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