Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trino connector访问MaxCompute报schema不存在 #141

Open
ChenShuai1981 opened this issue Nov 29, 2023 · 0 comments
Open

trino connector访问MaxCompute报schema不存在 #141

ChenShuai1981 opened this issue Nov 29, 2023 · 0 comments

Comments

@ChenShuai1981
Copy link

ChenShuai1981 commented Nov 29, 2023

$ bin/trino-cli --server localhost:19090 --catalog odps;
trino> show schemas;
Schema

hyq_prd
information_schema
(2 rows)

Query 20231129_025900_00012_dw5sy, FINISHED, 1 node
Splits: 19 total, 19 done (100.00%)
0.22 [2 rows, 35B] [9 rows/s, 163B/s]

trino> use hyq_prd;
Query 20231129_025904_00013_dw5sy failed: Schema does not exist: odps.hyq_prd

trino> use information_schema;
USE
trino:information_schema>

odps.properties内容如下

connector.name=odps
odps.project.name=hyq_prd
odps.access.id=xxx
odps.access.key=xxx
odps.end.point=http://service.cn-shanghai.maxcompute.aliyun-inc.com/api
odps.input.split.size=64

明明show schemas时列出来的schema,use 语句执行报schema不存在
补充一点,odps项目没有开启三层模型,即没有申请开启schema公测

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant