New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any plan for JDBC drivers? #28
Comments
As far as I know, there is no current plan for JDBC driver. |
+1 for adding JDBC support to ES .... though not sure if JDBC4ES functionality should live under this project or be a separate project? https://github.com/apache/incubator-calcite seems like a good tool to use for this... |
+1
|
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
com.alibaba.druid has JDBC built in, I believe, is is possible to use it? |
+1 for jdbc support |
+1 |
2 similar comments
+1 |
+1 |
@otisg I have tried calcite to add this feature to es-sql. It's proved to be unsuitable. calcite kind like spark datasource API which provide scanTable,filterTabe,translateTable which means you cannot access original sql(Raw SQL) but some expressions . Also, this means join ,group by action are all done in calcite which really impact performance . |
@ebuildy com.alibaba.druid has JDBC built in, I believe, is is possible to use it? This is good, Have already support JDBC by rewriting some druid classes, check url bellow: https://github.com/allwefantasy/elasticsearch-sql/tree/jdbc-support Install Step
Example Code
|
I run the JDBCTests, got error: java.sql.SQLException: Error
Caused by: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{113.12.15.234}{113.12.15.234:9200}]] |
You should start a elasticsearch instance before running JDBCTests . Do not forget modify the code:
|
Hi..I downloaded the project (latest version) and packaged it in eclipse. and then I have a test project in which I am adding the package as an external jar. and have created a test code - import org.nlpcn.es4sql.TestsConstants; public class JDBCtests {
} I run the program and its throwing an exception showing - ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Caused by: [elasticsearch-sql_test_index] IndexNotFoundException[no such index] (full trace not copied). could you please help and why use port 9300 when we have 9200. |
setInitialSize max is 8 ? |
No description provided.
The text was updated successfully, but these errors were encountered: