Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2023 05:57 PM
@Grainne Farrant :
It is possible to connect QGIS to Databricks using ODBC, but it requires additional configuration. Here are the general steps to follow:
- Install the ODBC driver for Databricks on your machine where QGIS is installed. You can download the driver from the Databricks website.
- Set up a DSN for Databricks in the ODBC Data Source Administrator on your machine. Make sure you test the connection to ensure it is working properly.
- In QGIS, go to the Layer menu and choose Add Layer > Add Vector Layer. Choose the Database tab and click the New button to create a new connection.
- Choose the ODBC option and enter the name of the DSN you created in step 2.
- Enter your Databricks username and password and click Test Connection to make sure it is working properly.
- Once the connection is established, you should be able to see the tables and views available in your Databricks instance and add them to QGIS as layers.
Note that some users have reported issues with using ODBC drivers with QGIS on MacOS, so you may need to use a different approach if you are on that platform.