cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Databricks connection

I am using Databricks provided ODBC driver to connect JMP 18 to Databricks. When I try to connect the connection is successful, but I am not getting the list of tables/ catalog/ schema to bring the data in JMP.

UnivariateBat53_0-1758806397444.png

I tried to refresh multiple times, but it does not work

1 REPLY 1

Re: Databricks connection

This sounds a lot like:

https://community.jmp.com/t5/Discussions/JMP-ODBC-Databricks-and-default-catalog/m-p/670654
The gist is:

This is most likely due to the connection string missing:

Catalog=<catalog-name>

where <catalog-name> is the catalog where your data is. There are many drivers that do not persist <catalog-name>, so JMP doesn't know there is one.

For instance, in say, Open Database, you'd modify it like (adding the Catalog=<catalog-name>entry):

Open Database(

  "Driver=Simba Spark ODBC Driver;Host=adb-***********.**.azuredatabricks.net;Port=443;HTTPPath=sql/protocolv1/o/*********/****-*******-**********;SSL=1;ThriftTransport=2;AuthMech=3;UID=token;PWD=*****;Catalog=<catalog-name>;Schema=<schema-name>;ProxyHost=***************;ProxyPort=****"

  );

If you are using interactive JMP, then configure an ODBC Connection, which you have (I think).
Then use (in JMP 18) File->Database->Data Connectors...

New Connection

This will import all your configured DSN connections, using the DSN name.

You'll want to select the DSN name and then select New.

(This will create a new Connector based on this one)

You'll want to make sure that
Catalog=<catalog-name>

Is in the connection field.
You'll want to Save A Copy, given a new name.

JMP 19 makes it easier to edit existing ones.
You can follow here if needed.
And... if you run into problems, give a Tech Support a call, too.

 

Recommended Articles