waynexia commented on code in PR #2612:
URL: https://github.com/apache/arrow-datafusion/pull/2612#discussion_r881469007


##########
docs/source/user-guide/cli.md:
##########
@@ -19,8 +19,7 @@
 
 # DataFusion Command-line Interface
 
-The DataFusion CLI allows SQL queries to be executed by an in-process 
DataFusion context, or by a distributed
-Ballista context.
+The DataFusion CLI allows SQL queries to be executed by an in-process 
DataFusion context.
 
 ```
 USAGE:

Review Comment:
   I agree with you. But this seems to be a "feature" of the code (or clap) 🤔 
It looks like that at some point clap changed its behavior, doesn't distinguish 
FLAG and OPTION.
   
   And for the document here I think this block is intended to be a place to 
show the help text, and that's what I get by `cargo run -- --help`:
   
   ```
   datafusion-cli 8.0.0
   Apache Arrow <[email protected]>
   Command Line Client for DataFusion query engine.
   
   USAGE:
       datafusion-cli [OPTIONS]
   
   OPTIONS:
       -c, --batch-size <BATCH_SIZE>    The batch size of each query, or use 
DataFusion default
       -f, --file <FILE>...             Execute commands from file(s), then exit
           --format <FORMAT>            [default: table] [possible values: csv, 
tsv, table, json,
                                        nd-json]
       -h, --help                       Print help information
       -p, --data-path <DATA_PATH>      Path to your data, default to current 
directory
       -q, --quiet                      Reduce printing other than the results 
and work quietly
       -r, --rc <RC>...                 Run the provided files on startup 
instead of ~/.datafusionrc
       -V, --version                    Print version information
   ```
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to