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