secretflow / scql

SCQL (Secure Collaborative Query Language) is a system that allows multiple distrusting parties to run joint analysis without revealing their private data.
https://www.secretflow.org.cn/docs/scql/en/
Apache License 2.0
126 stars 46 forks source link

scql查询报错,日志内容和返回结果报错一致 #388

Closed zwj-edas closed 19 hours ago

zwj-edas commented 19 hours ago

Issue Type

Running

Have you searched for existing issues?

Yes

OS Platform and Distribution

centos7

SCQL Version

SCQL. latest

What happend and What you expected to happen.

kuscia+scql部署,执行查询报错,同步查询和异步查询获取结果的接口保存一致

Configuration used to run SCQL.

curl -X POST http://127.0.0.1:80/intra/query \
--header "host: scql-broker-intra.alice.svc" \
--header "kuscia-source: alice" \
-H "Content-Type: application/json" \
-d '{
    "project_id": "demo",
    "query":"SELECT ta.credit_rank, COUNT(*) as cnt, AVG(ta.income) as avg_income, AVG(tb.order_amount) as avg_amount FROM ta INNER JOIN tb ON ta.ID = tb.ID WHERE ta.age >= 20 AND ta.age <= 30 AND tb.is_active=1 GROUP BY ta.credit_rank;"
}'

SCQL log output.

{
    "status": {
        "code": 300,
        "message": "FetchResult: failed in session result check: QueryResponse error: status = code:320 message:\"RunExecutionPlan run jobs(a66f9432-96c8-11ef-b97c-ce61501c27f1) failed, catch std::exception=[external/yacl/yacl/link/transport/channel.cc:427] Get data timeout, key=a66f9432-96c8-11ef-b97c-ce61501c27f1-0:1:ALLGATHER\"",
        "details": []
    },
    "result": null,
    "job_status": null
}