cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks JDBC URL fails when no space is used

nikita_w
Visitor

Hi,

I am facing an issue while testing a Databricks JDBC connection and would like to know if this is expected behavior from the Databricks JDBC driver.

When I provide the full JDBC URL with all properties in a single string and do not add a space, the connection test fails.

Example JDBC URL (dummy values):

jdbc:databricks://example-databricks.cloud:443;httpPath=/sql/1.0/warehouses/warehouse123;AuthMech=3;transportMode=http;

During connection test, I see these errors:

  • Multiple entries with same key: authmech=3 and authmech=3
  • Multiple entries with same key: transportmode=http and transportmode=http

If I change the formatting (for example, add a space or adjust how properties are passed), the connection test works.

I would like to understand: Is this error generated by the Databricks JDBC driver?
Does the driver require a specific format or delimiter when parsing properties?
Is a space required between the JDBC URL and properties, or should this URL work as it is?
Is this behaviour expected, or should applications handle it before passing the URL to the driver?

Thanks in advance.

0 REPLIES 0