- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 06:16 AM - edited 06-03-2024 07:07 AM
We have a special endpoint that grants access to delta tables and we want to know if we can use SQL endpoints as a linked service in ADF.
If yes then which ADF-linked service would be suitable for this?
Appreciate your support on this.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 01:14 AM
I have not tried this first hand however, from what I know, you have 2 options here.
- The easy way is to use Azure Databricks Delta Lake linked service. In the setting you can mention the cluster id but this cluster id should correspond to an interactive cluster. Something like 0409-035326-4alfp636. If you try to point it to a Sql warehouse cluster, you will get an error saying that the cluster cannot be found. So you cannot use a Databricks SQL endpoint with this option but you can still read a Delta table. If the cluster is off, the pipeline execution will bring up the cluster and then execute your query.
- The hard way is to use the ODBC linked service. However, this requires you to use a self hosted integration runtime. You cannot use the standard AzureIR. Install the required ODBC drivers on the SHIR and then use the ODBC linked service to connect to the Databricks SQL endpoint. You can refer to the Microsoft documentation on creating a ODBC linked service here. You can refer to the Databricks ODBC details as mentioned here.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 10:24 AM
Azure Databricks Delta Lake (Dataset) uses a linked service that can only connect to a All Purpose/Interactive cluster.
If you want to use the SQL Endpoint, you would need a Self Hosted Integration Runtime for ADF with Databricks ODBC driver Installed on it. In ADF, the linked service would be a ODBC Linked Service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 03:58 AM
@Retired_mod Thanks for the information, however, this query was about the Databricks SQL endpoint (which is like an engine to execute queries in Databricks)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 02:58 AM
Hi.
The topic is about databricks sql endpoint as a source using ADF and not Azure SQL.
Best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 01:14 AM
I have not tried this first hand however, from what I know, you have 2 options here.
- The easy way is to use Azure Databricks Delta Lake linked service. In the setting you can mention the cluster id but this cluster id should correspond to an interactive cluster. Something like 0409-035326-4alfp636. If you try to point it to a Sql warehouse cluster, you will get an error saying that the cluster cannot be found. So you cannot use a Databricks SQL endpoint with this option but you can still read a Delta table. If the cluster is off, the pipeline execution will bring up the cluster and then execute your query.
- The hard way is to use the ODBC linked service. However, this requires you to use a self hosted integration runtime. You cannot use the standard AzureIR. Install the required ODBC drivers on the SHIR and then use the ODBC linked service to connect to the Databricks SQL endpoint. You can refer to the Microsoft documentation on creating a ODBC linked service here. You can refer to the Databricks ODBC details as mentioned here.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 02:31 AM
Adf does not support adb sql endpoint as linked server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 01:40 AM - edited 09-30-2024 01:41 AM
I see linked service connect "Azure Databricks Delta Lake" in Azure Data Factory, isn't it connecting to Databrcicks SQL Endpoint ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 10:24 AM
Azure Databricks Delta Lake (Dataset) uses a linked service that can only connect to a All Purpose/Interactive cluster.
If you want to use the SQL Endpoint, you would need a Self Hosted Integration Runtime for ADF with Databricks ODBC driver Installed on it. In ADF, the linked service would be a ODBC Linked Service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 11:22 AM

