Crate datafusion_cli
source ·Expand description
§DataFusion Command-line Interface
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.
§How do I make my IDE work with datafusion-cli
?
“open” the datafusion/datafusion-cli
project as its own top level
project in my IDE (rather than opening datafusion
)
The reason datafusion-cli
is not part of the main workspace in
datafusion Cargo.toml
file is that datafusion-cli
is a binary and has a
checked in Cargo.lock
file to ensure reproducible builds.
However, the datafusion
and sub crates are intended for use as libraries and
thus do not have a Cargo.lock
file checked in.
Modules§
- Command within CLI
- Execution functions
- Functions that are query-able and searchable via the
\h
command - Helper that helps with interactive editing, including multi-line parsing and validation, and auto-completion for file name during creating external table.
- The syntax highlighter.
- Print format variants