How to access files in Microsoft Fabric from Denodo
You can translate the document:Introduction
This document describes how to access CSV or Parquet files uploaded to the lakehouse of Microsoft Fabric from Denodo.
Microsoft Fabric Lakehouse is a data repository for storing, managing, and analyzing structured and unstructured data in a single location. For more information, you can refer to the What is a lakehouse in Microsoft Fabric? documentation.
In Denodo, it is possible to access Delimited files and Parquet files stored at the lakehouse of Microsoft Fabric.
Denodo supports OAuth authentication with Microsoft Fabric Lakehouse. As a pre-requisite, you need to configure Microsoft Entra ID to grant an application access to the One Lake resources.
Querying Parquet files in Microsoft Fabric Lakehouse using Denodo
Parquet files in the Fabric Lakehouse can be accessed from Denodo using the Denodo Distributed File System Custom Wrapper.
- Import the Distributed File System Custom Wrapper using Extensions Management.
- From the Denodo Design Studio, create a new custom data source by selecting New > Data source > Custom.
- Enable the Select jars option and choose denodo-dfs-customwrapper from the Existing extensions.
- Select com.denodo.connect.dfs.wrapper.DFSParquetFileWrapper as Class name.
- Click on Refresh Input Parameters.
- For the File system URI, copy and paste the ABFS Path which is available in the File Properties of the particular file in Fabric. The format will look like the below:
|
abfss://<Workspace_name>\@onelake.dfs.fabric.microsoft.com/<item_name>.<item_type>/Tables/<file_name>/part-xxxxxxxx.snappy.parquet |
Example:
|
abfss://test\@onelake.dfs.fabric.microsoft.com/testhouse.Lakehouse/Tables/sample_file/part-xxxx.snappy.parquet |
- For Authentication, you need to create a custom core-site.xml file for OAuth Authentication with the format highlighted in this document.
- Once the core-site.xml file has been created, choose the custom core-site.xml with file route set to Local or HTTP or FTP/SFTP/FTPS Client.
- Click on Test connection to verify the connection to the core-site.xml file
- Save the changes and click on Create Base View.
- Under the Parquet File Path of the Create Base View tab, provide the path including {itemname}.{itemtype} with the following format:
|
/testhouse.Lakehouse/Tables/sample_file/part-xxxxxxxxx.snappy.parquet |
- Click on Create Base View, the base view will be created successfully.
Querying Delimited files in Microsoft Fabric Lakehouse using Denodo
Denodo 9 includes an ABFS (Azure Blob File System and ADLS Gen2) Data Route associated with the Delimited File data source , which would directly access the CSV file uploaded to the Fabric Lakehouse.
- Create a new Delimited file data source by selecting New > Data source > Delimited File (CSV).
- Choose ABFS (Azure Blob Storage and ADLS Gen2) as Data route.
- Under the Configuration, copy and paste the ABFS Path which is available in the File Properties of the particular file (CSV) in Fabric. The format will look like the below:
|
abfss://<Workspace_name>\@onelake.dfs.fabric.microsoft.com/<item_name>.<item_type>/Files/<file_name>.csv |
Example:
|
abfss://test\@onelake.dfs.fabric.microsoft.com/testhouse.Lakehouse/Files/sample_file.csv |
- For Authentication, choose OAuth 2.0 client credentials (as it is the only supported Authentication). Then configure the Token endpoint, Client identifier and Client Secret in Denodo from Microsoft Entra ID.
- In our example we are accessing a CSV file with “,” as field separator so use “,” as the Column delimiter. Save the changes and perform Test Connection to verify the connection.
- If you click on Create Base View, the base view will be created successfully.
References
Lakehouse Load to Delta Lake tables
Get started with OneLake security (preview)
The information provided in the Denodo Knowledge Base is intended to assist our users in advanced uses of Denodo. Please note that the results from the application of processes and configurations detailed in these documents may vary depending on your specific environment. Use them at your own discretion.
For an official guide of supported features, please refer to the User Manuals. For questions on critical systems or complex environments we recommend you to contact your Denodo Customer Success Manager.
