4paradigm / 4paradigm/OpenMLDB

Deploy without table success but use it fail

未关闭
#3,551 0 条评论 0 个 reaction 已指派 2 人 已被 @aceforeverd 认领 在 GitHub 查看
bug high-priority storage-engine
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

**Bug Description**
When deploy a new deployment without table, the operation succeeds.
However, the deployment can't be called.

**Steps to Reproduce**
```
deploy d1 select sin(1);
SUCCEED
```
```
curl -XPOST http://node-4:20648/dbs/dbd/deployments/d1 -d'{"input":[[]]}'
{"code":-1,"msg":"fail to get tablet, table dbd."}
```
The current database used is dbd.
```
show deployment d1;
----- ------------
DB Deployment
----- ------------
dbd d1
----- ------------
1 row in set
------------------
SQL
------------------
DEPLOY d1 SELECT
sin(1)
;
------------------
1 row in set
Empty set
# Output Schema
--- -------- -------- ------------
# Field Type IsConstant
--- -------- -------- ------------
1 sin(1) Double NO
--- -------- -------- ------------
```

贡献指南

打开贡献指南

调研方向

Look at the deployment logic in the codebase, likely in a deployment manager or SQL execution module. The error 'fail to get tablet, table dbd.' suggests a missing table reference. Start by searching for where deployments are created and how they handle table dependencies. Run the provided deploy and curl commands to reproduce the issue, then trace through the code to see why the deployment succeeds but the call fails.

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

评估

技术栈
databases, machine-learning, sql
领域
backend, databases, machine-learning
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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