Skip to content

Apache DataFusion SQL Query Engine

Minor: Update datafusion-cli README to explain why it is not in the w… (#8938)

Andrew Lamb180cbfb7b328
diff --git a/datafusion-cli/README.md b/datafusion-cli/README.md
index 1d99cfbcb0..0afcd489f7 100644
--- a/datafusion-cli/README.md
+++ b/datafusion-cli/README.md
@@ -25,4 +25,22 @@
The DataFusion CLI is a command line utility that runs SQL queries using the DataFusion engine.
-See the [`datafusion-cli` documentation](https://arrow.apache.org/datafusion/user-guide/cli.html) for further information.
+# Frequently Asked Questions
+
+## Where can I find more information?
+
+Answer: See the [`datafusion-cli` documentation](https://arrow.apache.org/datafusion/user-guide/cli.html) for further information.
+
+## How do I make my IDE work with `datafusion-cli`?
+
+Answer: "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 listed as part of the workspace in the main
+[`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.
+
+[`datafusion cargo.toml`]: https://github.com/apache/arrow-datafusion/blob/main/Cargo.toml