You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by yj...@apache.org on 2022/04/14 00:12:41 UTC

[arrow-datafusion] branch master updated: update cli readme (#2220)

This is an automated email from the ASF dual-hosted git repository.

yjshen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new b1a28d077 update cli readme (#2220)
b1a28d077 is described below

commit b1a28d0774c7e4c6535e26b536783880f9bf9c27
Author: Kun Liu <li...@apache.org>
AuthorDate: Thu Apr 14 08:12:36 2022 +0800

    update cli readme (#2220)
---
 datafusion-cli/README.md      | 14 +++++++++-----
 docs/source/user-guide/cli.md | 17 ++++++++++-------
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/datafusion-cli/README.md b/datafusion-cli/README.md
index f8624bbda..b83539975 100644
--- a/datafusion-cli/README.md
+++ b/datafusion-cli/README.md
@@ -65,17 +65,21 @@ DataFusion CLI v4.0.0-SNAPSHOT
 1 row in set. Query took 0.017 seconds.
 ```
 
-## Ballista
-If you want to execute the SQL in ballista by `datafusion-cli`, you must build/compile the `datafusion-cli` with features of "ballista" first.
+## DataFusion-Cli
+
+Build the `datafusion-cli` without the feature of ballista.
 
 ```bash
-cargo build --features ballista
+cd arrow-datafusion/datafusion-cli
+cargo build
 ```
 
-or
+## Ballista
+If you want to execute the SQL in ballista by `datafusion-cli`, you must build/compile the `datafusion-cli` with features of "ballista" first.
 
 ```bash
-cargo build -p datafusion-cli --features ballista
+cd arrow-datafusion/datafusion-cli
+cargo build --features ballista
 ```
 
 The DataFusion CLI can connect to a Ballista scheduler for query execution.
diff --git a/docs/source/user-guide/cli.md b/docs/source/user-guide/cli.md
index 7c6486e70..9561b5e1d 100644
--- a/docs/source/user-guide/cli.md
+++ b/docs/source/user-guide/cli.md
@@ -65,6 +65,15 @@ DataFusion CLI v5.1.0-SNAPSHOT
 1 row in set. Query took 0.017 seconds.
 ```
 
+## DataFusion-Cli
+
+Build the `datafusion-cli` without the feature of ballista.
+
+```bash
+cd arrow-datafusion/datafusion-cli
+cargo build
+```
+
 ## Ballista
 
 The DataFusion CLI can also connect to a Ballista scheduler for query execution.
@@ -73,16 +82,10 @@ Before you use the `datafusion-cli` to connect the Ballista scheduler, you shoul
 the `datafusion-cli` with feature of "ballista" first.
 
 ```bash
+cd arrow-datafusion/datafusion-cli
 cargo build --features ballista
 ```
 
-or
-
-```bash
-cargo build -p datafusion-cli --features ballista
-
-```
-
 Then, you can connect the Ballista by below command.
 
 ```bash