How to visualize data from Databricks
This notebook guides the user through the process of connecting to a CARTO account and leverage CARTO’s integrating with Pydeck to be able to visualize data from a Databricks connections using both CARTO and Databricks native support of the H3 spatial index. You can find the original notebook here.
Install dependencies
Authenticate with CARTO
The method below will get an OAuth access token that will give you permission to interact with the CARTO platform with the same privileges and access to resources as if you were logged in.
Loading an H3 Layer from a Databricks connection.
CARTO can connect to a Databricks SQL Warehouse or a Databricks cluster to push down SQL queries that will be fully executed in your Databricks environment. In both cases, the connection fully supports H3 indexes, leveraging Databricks' native capabilities.
Learn more about how to connect CARTO to Databricks here.
Last updated