12-01-2023 02:10 AM
Hi,
databricks jdbc version - 2.6.34
I am facing the below issue with connecting databricks sql from apache solr
Caused by: java.sql.SQLFeatureNotSupportedException: [Databricks][JDBC](10220) Driver does not support this optional feature.
at com.databricks.client.exceptions.ExceptionConverter.toSQLException(Unknown Source)at com.databricks.client.jdbc.common.SConnection.setAutoCommit(Unknown Source)
at com.databricks.client.jdbc.jdbc42.DSS42Connection.setAutoCommit(Unknown Source)
at org.apache.solr.handler.dataimport.JdbcDataSource$1.initializeConnection(JdbcDataSource.java:223)
at org.apache.solr.handler.dataimport.JdbcDataSource$1.call(JdbcDataSource.java:197)
... 57 more
12-08-2023 01:46 AM
Hi @Bhavishya, You’re encountering an issue connecting to Databricks SQL from Apache Solr.
The error message indicates that the JDBC driver is not supporting an optional feature.
Let’s explore some potential solutions:
Driver Compatibility:
Permissions and Configuration:
Check the JDBC URL:
Troubleshoot with Databricks Documentation:
Remember that your error message indicates that the driver does not support an optional feature. Investigating the compatibility, permissions, and configuration aspects should help narrow down the issue. If you need further assistance, consider contacting Databricks support or community forums for more ....
Please let me know if you need additional help or if you encounter any other issues! 😊
12-08-2023 01:46 AM
Hi @Bhavishya, You’re encountering an issue connecting to Databricks SQL from Apache Solr.
The error message indicates that the JDBC driver is not supporting an optional feature.
Let’s explore some potential solutions:
Driver Compatibility:
Permissions and Configuration:
Check the JDBC URL:
Troubleshoot with Databricks Documentation:
Remember that your error message indicates that the driver does not support an optional feature. Investigating the compatibility, permissions, and configuration aspects should help narrow down the issue. If you need further assistance, consider contacting Databricks support or community forums for more ....
Please let me know if you need additional help or if you encounter any other issues! 😊
03-07-2024 09:01 AM
Hi Bhavishya, I am facing the same issue. Were you able to find a solution to this?
03-21-2024 12:37 AM
Databricks team recommended to set IgnoreTransactions=1 and autocommit=false in the connection string but that didn't resolve the issue .
Ultimately I had to use solr update API for uploading documents
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group