influxdb/influxdb_iox/tests/jdbc_client
Andrew Lamb 2bc495b29e
feat(flightsql): Support `GetTableTypes` metadata API (#7242)
* feat(flightsql): Support `GetTableTypes` metadata API

* chore: comment about possible optimization

* chore: fix logical conflict
2023-03-17 13:12:23 +00:00
..
.gitignore feat: JDBC integration tests with FlightSQL (#6693) 2023-01-25 22:21:18 +00:00
Main.java feat(flightsql): Support `GetTableTypes` metadata API (#7242) 2023-03-17 13:12:23 +00:00
Makefile feat: JDBC integration tests with FlightSQL (#6693) 2023-01-25 22:21:18 +00:00
README.md feat: JDBC integration tests with FlightSQL (#6693) 2023-01-25 22:21:18 +00:00
flight-sql-jdbc-driver-10.0.0.jar.sha feat: JDBC integration tests with FlightSQL (#6693) 2023-01-25 22:21:18 +00:00
jdbc_client chore: add extra debugging to help track down jdbc_client failures (#6968) 2023-02-13 12:14:39 +00:00

README.md

This directory contains a JDBC client program that is used for testing InfluxBD IOx using the FlightSQL JDBC driver

Local Execution:

Run IOx

influxdb_iox -v

Run the JDBC test

To run the JDBC test program, specify the target namespace in the JDBC URL:

# run the jdbc client driver program, downloading the JDBC driver if needed
./jdbc_client "jdbc:arrow-flight-sql://localhost:8082?useEncryption=false&iox-namespace-name=26f7e5a4b7be365b_917b97a92e883afc" query 'select * from cpu'

Cleanup:

Clean up any intermediate files (like JDBC driver)

make clean