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 摘要。