A small package to help developers make exported data from dataverse via Link to Microsoft Fabric functionality easieer accessible.
Project description
LinkToFabricHelper
Disclaimer: Since the package is in an early stage of development it is not recommended to use it in production-environments.
This package is designed to help developers of solutions im Microsoft Fabric that use dataverse's functionality "Link to Microsoft Fabric" to handle the cdm-like structure of the data.
Common Data Model
For more information on the "Common Data Model" (CDM) see for example the official documentation of Microsoft on Microsoft Learn.
How to use LinkToFabricHelper
Utilize CDM-Schema
The exported tables from dataverse come with referenced optionssets for lots of columns. This comes with the need to dereference this columns somewhen to present the data to business users.
This package provides the functionality to read the metadata provided by the "Link to Microsoft Fabric" functionality within the lakehouse and utilize it in views so that business users get an easy interface to access their data in a raw format if required and give data engineers the possibility to easily transform the data in later stages.
Turn this:
Into that:
The package is designed to work when called from within a Fabric notebook so that such an update of views can run e.g. after a dataverse release and thus a possible schema change. But be aware that there is currently no possibility to create views in the sql endpoint directly out of a notebook (inofficially announced in a blog for later in 2024) so currently the created script needs to be executed manually via the sql endpoint.
For a detailed explanation of how to use the package to create these views see the detailed documentation here.
Local execution
It is also possible to connect to the sql endpoint directly and retrieve the metadata from there. Since the vision of this package is a direct execution within a Fabric notebook and needs someone executing it on a local machine this is not the recommended approach. Nevertheless it is nice to have this possibility for debugging and development so an exemplary call is given in localexecution.py which needs SQL_ENDPOINT (sql endpoint connection string from Fabric lakehouse) and DATABASE_NAME (name of the lakehouse in Fabric) defined in a seperate script.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linktofabrichelper-0.1.0.tar.gz.
File metadata
- Download URL: linktofabrichelper-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f786d8c5dde2487066b287acfe64cc064a72798f58f5614a00590d12d56e96a7
|
|
| MD5 |
dd6833535e05ee1b4f63469071dd5ed3
|
|
| BLAKE2b-256 |
387498361916a753271e21785bd44ac2ed6f52140662444d27e178be86498f3f
|
File details
Details for the file LinkToFabricHelper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: LinkToFabricHelper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e68b9f09e14c2adc1b3e3aae4fa7cdc59693a2aebf484c19ae6e716694b979f
|
|
| MD5 |
da2477560ec9cf93c19c1e3b7065f084
|
|
| BLAKE2b-256 |
343dc3a20cd683722e07d06856ba480195ae6a4b858485f67e2e74fc16e88634
|