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.
Metadata
Release files for LinkToFabricHelper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linktofabrichelper-0.1.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| LinkToFabricHelper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / linktofabrichelper-0.1.0.tar.gz
| Download URL | linktofabrichelper-0.1.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f786d8c5dde2487066b287acfe64cc064a72798f58f5614a00590d12d56e96a7
|
|
BLAKE2b-256 checksum How to use checksums |
387498361916a753271e21785bd44ac2ed6f52140662444d27e178be86498f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / LinkToFabricHelper-0.1.0-py3-none-any.whl
| Download URL | LinkToFabricHelper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e68b9f09e14c2adc1b3e3aae4fa7cdc59693a2aebf484c19ae6e716694b979f
|
|
BLAKE2b-256 checksum How to use checksums |
343dc3a20cd683722e07d06856ba480195ae6a4b858485f67e2e74fc16e88634
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|