apache / apache/datafusion-sqlparser-rs

Allow parsing any permutation of create sequence options

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

描述

Hi, many thanks for the project!

I would like to be able to parse the create sequence options in any particular order instead of just what postgreslq/duckdb support. Afaik oracle for example allows any permutation of the options.

If this is something that you'd be willing accept, I would be happy to implement the necessary changes to allow any permutation and hide it behind something like a dialect flag.

贡献指南

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

调研方向

首先定位 create-sequence 选项解析器及其现有的 PostgreSQL/DuckDB 排序处理。比较所请求的 Oracle 风格排列,并确定方言标志应如何控制它们;完成的标准是支持的排列能够正确解析,且不改变现有的方言行为,同时测试覆盖排序情况。

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

评估

技术栈
rust, sql
领域
compilers
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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