4paradigm / 4paradigm/OpenMLDB
Add SQL syntax support for passing tuple to 'where in' statement
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 1
説明
**Describe the feature you'd like**
Now we can execute the sql like this.
```
select * from t1 where (gender) in (("male"));
```
But fail for this sql.
```
select * from t1 where (name, gender) in (("tobe", "male"));
```
Here is the error message.
```
W0104 11:03:18.722047 1311167296 sql_cluster_router.cc:2651] Status: [101] create logic plan tree failed--Unsupport ASTExpression StructConstructorWithParens
Error: [101] create logic plan tree failed--Unsupport ASTExpression StructConstructorWithParens
```
コントリビューションガイド
調査の方向性
The error points to sql_cluster_router.cc and an unsupported ASTExpression StructConstructorWithParens. Look for the logic plan tree creation code and the AST handling for WHERE IN clauses. Understand how single-column tuples are parsed versus multi-column tuples. Testing involves writing SQL with tuple syntax against the database.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- sql
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 40/100