timvw commented on PR #1386: URL: https://github.com/apache/arrow-rs/pull/1386#issuecomment-1106594734
I have implemented a demo flight sql client (which works against the java [FlightSqlExample](https://github.com/apache/arrow/blob/master/java/flight/flight-sql/src/test/java/org/apache/arrow/flight/sql/example/FlightSqlExample.java) similiar to [FlightSqlClientDemoAp](https://github.com/apache/arrow/blob/master/java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/example/FlightSqlClientDemoApp.java) Here ->> https://github.com/timvw/arrow-flightsql-odbc/blob/main/src/bin/client.rs cargo run --bin client localhost 52358 Execute "SELECT * FROM INTTABLE" +----+--------------+-------+-----------+ | ID | KEYNAME | VALUE | FOREIGNID | +----+--------------+-------+-----------+ | 1 | one | 1 | 1 | | 2 | zero | 0 | 1 | | 3 | negative one | -1 | 1 | +----+--------------+-------+-----------+ +----+---------+-------+-----------+ | ID | KEYNAME | VALUE | FOREIGNID | +----+---------+-------+-----------+ +----+---------+-------+-----------+ cargo run --bin client localhost 52358 GetPrimaryKeys INTTABLE -- --schema APP +--------------+----------------+------------+-------------+--------------+--------------------+ | catalog_name | db_schema_name | table_name | column_name | key_sequence | key_name | +--------------+----------------+------------+-------------+--------------+--------------------+ | | APP | INTTABLE | ID | 1 | SQL220422165132740 | +--------------+----------------+------------+-------------+--------------+--------------------+ -- 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]
