apache / apache/iceberg-python

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

未关闭
#2,541 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.1k
派生
581
平均合并
1 天 17 小时
30 天内合并 PR
78

描述

### 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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从入口点 load_catalog 开始,跟踪所提供的名称和类型是如何处理的;issue 没有指出任何仓库文件或测试。使用提供的 catalog_config 重现示例,并验证选择了哪个 catalog。完成的标准是:所请求的 bi_31 catalog 被明确加载,或者该行为得到清楚记录。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。