4paradigm / 4paradigm/OpenMLDB
Deploy without table success but use it fail
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 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