Apache DataFusion SQL Query Engine
Minor: Add installation link to README.md (#8389)
Alex Huang49dc1f2467a1
diff --git a/README.md b/README.mdindex f5ee1d6d80..883700a393 100644--- a/README.md+++ b/README.md@@ -28,6 +28,7 @@ in-memory format. [Python Bindings](https://github.com/apache/arrow-datafusion-pHere are links to some important information- [Project Site](https://arrow.apache.org/datafusion)+- [Installation](https://arrow.apache.org/datafusion/user-guide/cli.html#installation)- [Rust Getting Started](https://arrow.apache.org/datafusion/user-guide/example-usage.html)- [Rust DataFrame API](https://arrow.apache.org/datafusion/user-guide/dataframe.html)- [Rust API docs](https://docs.rs/datafusion/latest/datafusion)diff --git a/docs/source/user-guide/cli.md b/docs/source/user-guide/cli.mdindex e8fdae7bb0..525ab090ce 100644--- a/docs/source/user-guide/cli.md+++ b/docs/source/user-guide/cli.md@@ -31,7 +31,9 @@ The easiest way to install DataFusion CLI a spin is via `cargo install datafusio### Install and run using Homebrew (on MacOS)-DataFusion CLI can also be installed via Homebrew (on MacOS). Install it as any other pre-built software like this:+DataFusion CLI can also be installed via Homebrew (on MacOS). If you don't have Homebrew installed, you can check how to install it [here](https://docs.brew.sh/Installation).++Install it as any other pre-built software like this:```bashbrew install datafusion@@ -46,6 +48,34 @@ brew install datafusiondatafusion-cli```+### Install and run using PyPI++DataFusion CLI can also be installed via PyPI. You can check how to install PyPI [here](https://pip.pypa.io/en/latest/installation/).++Install it as any other pre-built software like this:++```bash+pip3 install datafusion+# Defaulting to user installation because normal site-packages is not writeable+# Collecting datafusion+# Downloading datafusion-33.0.0-cp38-abi3-macosx_11_0_arm64.whl.metadata (9.6 kB)+# Collecting pyarrow>=11.0.0 (from datafusion)+# Downloading pyarrow-14.0.1-cp39-cp39-macosx_11_0_arm64.whl.metadata (3.0 kB)+# Requirement already satisfied: numpy>=1.16.6 in /Users/Library/Python/3.9/lib/python/site-packages (from pyarrow>=11.0.0->datafusion) (1.23.4)+# Downloading datafusion-33.0.0-cp38-abi3-macosx_11_0_arm64.whl (13.5 MB)+# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.5/13.5 MB 3.6 MB/s eta 0:00:00+# Downloading pyarrow-14.0.1-cp39-cp39-macosx_11_0_arm64.whl (24.0 MB)+# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.0/24.0 MB 36.4 MB/s eta 0:00:00+# Installing collected packages: pyarrow, datafusion+# Attempting uninstall: pyarrow+# Found existing installation: pyarrow 10.0.1+# Uninstalling pyarrow-10.0.1:+# Successfully uninstalled pyarrow-10.0.1+# Successfully installed datafusion-33.0.0 pyarrow-14.0.1++datafusion-cli+```+### Run using DockerThere is no officially published Docker image for the DataFusion CLI, so it is necessary to build from source