Skip to content

feat: add dialect enum for sql dialects #18042

@dariocurr

Description

@dariocurr

Is your feature request related to a problem or challenge?

Currently, DataFusion's handling of SQL dialects lacks type safety and clarity

Describe the solution you'd like

Introduce a strongly-typed Dialect enum that explicitly defines all supported SQL dialects in DataFusion

Describe alternatives you've considered

  • constants: better than raw strings but still doesn't provide the same level of type safety as an enum
  • trait-based approach: more flexible but adds unnecessary complexity for this use case

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions