f87f4c1869
* fix: racing JDBC tests The JDBC tests have been flaky since adding additional tests. Use the makefile to build the client to avoid the clients racing. * chore: pre-download JDBC drive in integration test * fix: remove stray lockfile |
||
---|---|---|
.. | ||
.gitignore | ||
Main.java | ||
Makefile | ||
README.md | ||
flight-sql-jdbc-driver-10.0.0.jar.sha | ||
jdbc_client |
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 database 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&database=26f7e5a4b7be365b_917b97a92e883afc" query 'select * from cpu'
Cleanup:
Clean up any intermediate files (like JDBC driver)
make clean