apache / apache/datafusion-sqlparser-rs

[Discussion] Remove use of `dialect_of` macro

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

描述

What was the purpose of the current `Dialect`?
The `dialect_of` macro makes it difficult to modify your code whenever you add support for Dialect.
And besides the identifier support of Dialect, it seems that it can also support query (Expr).

But... if you have other intentions for macros
Since there is a problem, I would like to discuss it with the maintainers.

贡献指南

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

调研方向

阅读当前的 `Dialect` 定义和 `dialect_of` 宏的实现,重点关注讨论中提到的 identifier 和 `Expr` 支持。查看维护者的评论,以确定该宏预期承担的角色。要视为完成,需要达成一致的设计和范围,而 issue 中尚未确定这些内容。

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

评估

技术栈
rust
领域
compilers
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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