apache / apache/datafusion-sqlparser-rs

Will the key in MapAccess support Express?

未關閉
#380 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
3.5k
分支
774
平均合併
4 天 9 小時
30 天內合併 PR
17

描述

The index of an array in ClickHouse can be an function such as :

```sql
string.values[indexOf(string.names, 'endpoint')]='/health'
```

PS: If sqlparser wants to support this syntax,I can submit a PR to support it.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

該 issue 提到了 MapAccess,並給出了一個 ClickHouse 陣列索引範例,但沒有指定檔案或測試。首先定位 Rust SQL 剖析器中對 MapAccess 的處理,並檢查陣列下標和函式表達式是如何測試的。完成標準是剖析器接受所示表達式,並有回歸測試涵蓋。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust, sql
領域
compilers
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。