Files
datafusion/datafusion-cli
dario curreri 4e03c92059 refactor: add dialect enum (#18043)
## Which issue does this PR close?

- Closes #18042 

## Rationale for this change

This PR introduces a new dialect enum to improve type safety and code
maintainability when handling different SQL dialects in DataFusion

1. Provide compile-time guarantees for dialect handling
2. Improve code readability and self-documentation
3. Enable better IDE support and autocomplete

## What changes are included in this PR?

- Added a new `Dialect` enum to represent supported SQL dialects
- Refactored existing code to use the new enum instead of previous
representations
- Modified tests to work with the new enum-based approach

## Are these changes tested?

Yes

## Are there any user-facing changes?

Yes, this is an API change: the type of the `dialect` field changed from
`String` to `Dialect`
2025-10-16 17:21:24 +00:00
..
2025-10-16 17:21:24 +00:00
2025-10-16 17:21:24 +00:00
2025-02-08 11:05:25 -05:00

Apache DataFusion Command-line Interface

Apache DataFusion is an extensible query execution framework, written in Rust, that uses Apache Arrow as its in-memory format.

DataFusion CLI (datafusion-cli) is a small command line utility that runs SQL queries using the DataFusion engine.

Frequently Asked Questions

Where can I find more information?

See the datafusion-cli documentation for further information.