apache / apache/datafusion-sqlparser-rs
Expand Trigger parsing support
未关闭
- 主要语言
- Rust
- 星标
- 3.5k
- 派生
- 772
- 平均合并
- 4 天 9 小时
- 30 天内合并 PR
- 17
描述
Hi folks,
Thanks @LucaCappelletti94 for stepping in. I was very excited to see "CREATE TRIGGER" support landing.
I just tried it it out and noticed that it's implemented for the Postgres and Generic dialects only, which is a great. I was wondering if there are any plans to extend support to other dialects? I'm most interest in sqlite: https://www.sqlite.org/lang_createtrigger.html with the biggest difference being inline functions bodies vs "execute function_name"
Thanks!
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先阅读现有的 Postgres 和 Generic 方言的 CREATE TRIGGER 解析支持,然后将其与链接的 SQLite 文档中的 SQLite CREATE TRIGGER 语法进行比较。完成的标准是:SQLite 触发器语句(包括内联函数体)能够被接受,并由适当的解析器测试覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust, sqlite
- 领域
- databases
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100