Forum Discussion

royclack's avatar
royclack
Frequent Visitor
1 year ago
Solved

Ingest data from Databricks (on Azure)

Hi,   We have an external area which uses Databricks (on Azure) with a Warehouse (SQL Serverless Compute) and would like to integrate data from it but are just at initial stages.   As I understan...
  • v-veshwara-msft's avatar
    1 year ago

    Hi royclack ,

    Thanks for using Microsoft Fabric Community and sharing the details.

    In addition to jennratten suggestions,

    It’s important to ensure the proper permissions are in place for the Unity Catalog in Databricks. In addition to SELECT, the EXTERNAL USE SCHEMA permission must be explicitly granted for access to the schema in Unity Catalog. Without this, even if the catalog is mirrored, you might not be able to access the data.


    As mentioned by smpa01 , it’s possible that mirroring is being blocked by your Databricks admin. If that’s the case, a Databricks Personal Access Token (PAT) paired with a service principal will be necessary to programmatically access the data. This allows you to bypass mirroring restrictions and directly consume the data in Fabric.

    Once the Databricks PAT is configured, make sure the Spark-JDBC driver is placed in the Lakehouse. This will allow you to connect to Databricks and retrieve data programmatically.


    It’s also worth noting that Databricks mirroring only supports managed and external tables. If the table you're trying to access is temporary or not part of Unity Catalog, it won't be available for direct querying via Fabric.

     

    Some useful resources: Microsoft Fabric Mirrored Catalog From Azure Databricks (Preview) - Microsoft Fabric | Microsoft Learn

    Microsoft Fabric Mirrored Databases From Azure Databricks (Preview) Tutorial - Microsoft Fabric | Microsoft Learn

    Troubleshoot Fabric Mirrored Databases - Microsoft Fabric | Microsoft Learn

    After verifying the permissions, admin settings, and ensuring the proper table types are being mirrored, let us know if the issue persists.

    Hope this helps. Please reach out for further assistance.
    If this post helps, then please consider to Accept as the solution to help the other members find it more quickly and a kudos would be appreciated.

    Thank you.