apache / apache/datafusion-sqlparser-rs

MySQL: No support for stored procedure DEFINER

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

描述

If the stored procedure contains a DEFINER, a ParserError is raised:
```
ParserError("Expected an object type after CREATE, found: DEFINER")
```
Exemple of code causing such an error:
```sql
CREATE
DEFINER = foo@`%` PROCEDURE bar(IN first char(15), IN second tinyint)
proc: begin
```

贡献指南

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

调研方向

首先复现所提供的 CREATE DEFINER PROCEDURE 示例,并跟踪引发 ParserError 的 CREATE 语句解析入口点。当此 MySQL 形式能够成功解析且不会导致现有 CREATE 语句行为回归时,工作即告完成;issue 中未指定文件或测试。

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

评估

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

把新 issue 发到你的邮箱

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