Documentation
README
arrow_cli
arrow_cli is a command-line client for connecting to a Flight SQL server and executing SQL queries.
Install
cargo install arrow_cli
After installation, confirm that the binary is available:
arrow_cli --version
Usage
Execute one SQL statement and exit
arrow_cli --host localhost --port 8900 --user admin --password abc --command "select 1"
Output:
+----------+
| Int64(1) |
+----------+
| 1 |
+----------+
1 rows in set (tickets received in 0.008 sec, rows received in 0.012 sec)
Pipe SQL through standard input
echo "select 1" | arrow_cli --host localhost --port 8900 --user admin --password abc
Option: print the result schema
This is the opening of the README. Read the full README on GitHub.