We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
./brokerctl run "select min(ps_supplycost) from partsupp, supplier, nation where ps_suppkey = s_suppkey and s_nationkey = n_nationkey and n_name = 'BRAZIL';" --project-id "demo" --host http://localhost:8071 --timeout 30
Error: run query: DoQuery response: { "status": { "code": 320, "message": "RunExecutionPlan run jobs(586ff267-a894-11ef-922a-0242ac120006) failed, catch std::exception=[engine/datasource/odbc_adaptor.cc:44] catch unexpected Poco::Data::DataException: MySQL: [MySQL]: [Comment]: mysql_stmt_prepare error\t[mysql_stmt_error]: Unknown column 'supplier.S_NATIONKEY' in 'on clause'\t[mysql_stmt_errno]: 1054\t[mysql_stmt_sqlstate]: 42S22\t[statemnt]: select min(partsupp.PS_SUPPLYCOST) as expr_17 from alice.partsupp join (select nation.N_NAME,nation.N_NATIONKEY from alice.nation where nation.N_NAME='BRAZIL') as t_1 on supplier.S_NATIONKEY=t_1.N_NATIONKEY" } } 超过两个表关联查询时都会报错,即使所有表都在同一方,求解答。
The text was updated successfully, but these errors were encountered:
@zhangtiegang2014 可以提供更多的信息帮助我们理解这个问题吗?
包括但不限于表的 schema,以及 broker 和 engine 的日志?如果有可以复现的步骤说明更好了
Sorry, something went wrong.
@tongke6 数据是tpch 1G标准数据,根据https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.1b1/intro/p2p-tutorial文档按流程创建项目、创建表,所有表字段授权PLAINTEXT,然后执行上述sql。或者你任意创建三张表,做关联查询都会报错的。
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.
No branches or pull requests
./brokerctl run "select min(ps_supplycost) from partsupp, supplier, nation where ps_suppkey = s_suppkey and s_nationkey = n_nationkey and n_name = 'BRAZIL';" --project-id "demo" --host http://localhost:8071 --timeout 30
Error: run query: DoQuery response: {
"status": {
"code": 320,
"message": "RunExecutionPlan run jobs(586ff267-a894-11ef-922a-0242ac120006) failed, catch std::exception=[engine/datasource/odbc_adaptor.cc:44] catch unexpected Poco::Data::DataException: MySQL: [MySQL]: [Comment]: mysql_stmt_prepare error\t[mysql_stmt_error]: Unknown column 'supplier.S_NATIONKEY' in 'on clause'\t[mysql_stmt_errno]: 1054\t[mysql_stmt_sqlstate]: 42S22\t[statemnt]: select min(partsupp.PS_SUPPLYCOST) as expr_17 from alice.partsupp join (select nation.N_NAME,nation.N_NATIONKEY from alice.nation where nation.N_NAME='BRAZIL') as t_1 on supplier.S_NATIONKEY=t_1.N_NATIONKEY"
}
}
超过两个表关联查询时都会报错,即使所有表都在同一方,求解答。
The text was updated successfully, but these errors were encountered: