I hope Opendistro sql jdbc driver is free .Please help to suggest how we can install and use this driver.
Also I need to apply joins on multiple (two) indexes with common field and create new index etc.So for that do i need to install sql jdbc driver before that?
Yes, Opendistro SQL JDBC Driver is free and open source under Apache License 2.0.
Please refer the documentation about how to use and install it.
You can query data with SQL without JDBC driver by sending request to _opendistro/_sql URI. More example in here.
@penghuo Thanks for reply.
i am trying to import index table present in opendsitro in some third party application using below connection url but getting error
ERROR MESSAGE: SQLException: Connection error com.amazonaws.opendistro.elasticsearch.sql.jdbc.shadow.org.apache.http.conn.HttpHostConnectException: Connect to 192.168.105.15:9200 [/192.168.105.15] failed: Connection refused: connect Failed to connect and read from SQL database with connection_url: jdbc:elasticsearch://192.168.105.15:9200
The connection url mentioned in your documention is below .What is property-key values here.Please confirm if my above connection url is correct?
now connection is successful with third party application using below connection url.Elasticsearch index table is imported but one issue is still there that only schema of index is imported but records(rows) of the index are not imported…
Hi @sarvendras, I’m not sure in which application/database tool (such as DBVisualizer) you’re using our JDBC driver. But you should be able to query your data if you’ve connected and see index schema. Please refer to its docs to see if any miss.