Exercise
In this exercise, you will obtain an access token for Azure AD using the RTDIP SDK and then use it to authenticate with a Databricks SQL Warehouse.
-
Create a new python file.
-
Import the necessary classes from the RTDIP SDK.
-
Authenticate with Azure AD using the
DefaultAuth
method. -
Retrieve the access token.
-
Connect to the Databricks SQL Warehouse using the relevant connector.
-
Run your code and ensure that you can connect to the Databricks SQL Warehouse succesfully.
Course Progress
- Introduction
- SDK
- Authentication
- Connectors
- Overview
- Databricks SQL
- ODBC
- Spark
- Exercise
- Queries
- Power BI
- APIs
- Excel Connector