apache / apache/datafusion-sqlparser-rs

table alias without as fails to parse

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

描述

Hello !

The following valid SQL statement fails to parse:

```sql
select my_alias.value from json_each('{"hello": "world"}') my_alias
```

It should parse the same as the following

```sql
select my_alias.value from json_each('{"hello": "world"}') AS my_alias
```

貢獻指南

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

研究方向

issue 中沒有指定來源檔案或測試。首先針對 parser 執行兩個 SQL 範例,並追蹤 FROM 子句資料表別名的進入點;當不帶 AS 的別名能夠成功解析,且其行為與明確引入的別名相同時,即表示完成。

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

評估

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

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

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