apache / apache/datafusion-sqlparser-rs
Parse data types based on current dialect
未关闭
- 主要语言
- Rust
- 星标
- 3.5k
- 派生
- 772
- 平均合并
- 4 天 9 小时
- 30 天内合并 PR
- 17
描述
Currently we parse data types ignoring the dialect, which doesn't make that much sense. This requires the caller to validate not only their usage, but if we parsed the data types correctly.
Could we add the dialect to parse the data types? That's done in a few parts of the code using `dialect_of!()`
贡献指南
这个仓库没有索引到贡献指南
调研方向
定位数据类型解析的入口点,以及 issue 中提到的 `dialect_of!()` 现有使用位置。跟踪当前 dialect 如何传递到相关的 parser 代码,然后验证数据类型是否使用该 dialect 进行解析,以及现有的 parser 测试是否覆盖 dialect 特定的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- compilers
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100