7853a19953
* feat: basic JDBC integration test * fix: do not run test without env set * docs: add maven link * refactor: clean up java with switch statement |
||
---|---|---|
.. | ||
.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 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