apache / apache/datafusion-sqlparser-rs

alter view

未关闭
#676 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
3.5k
派生
772
平均合并
4 天 9 小时
30 天内合并 PR
17

描述

the following valid sql statement doesn't work:

```
alter view someview as select b, c from sometable;
```

I get this error:

```
ound error: sql parser error: Expected TABLE, found: view
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先复现报告中的 ALTER VIEW 语句,并以 parser error 为切入点,追踪 ALTER 语句的解析位置。为这个有效语句添加覆盖测试,并确认它能够成功解析,同时不会使现有的 ALTER TABLE 处理出现回归。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust, sql
领域
compilers, databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。