Ability to parse JSON data from a notebook to Multiple Variables / Array
One of the more common coding tasks that I reuse often is using a Notebook to retrieve settings and information related to the workspace/environment/etc, to facilitate dynamic and meta-driven development. I will usually use an initial notebook that I run as the first step in a Pipeline which setups logging, retrieves lakehouse/workspace information, etc. I then exit the notebook returning a JSON string with the values gathered:
ex.
# All of these would have been pre-populated earlier in the code as needed....
ret_cfg = {
"workspace_id": workspace_id,
"workspace_name": workspace_name,
"environment": environment,
"metadata_lakehouse_id": lh_metadata_id,
"bronze_lakehouse_id": lh_bronze_id
}
# Exit notebook with configuration
mssparkutils.notebook.exit(json.dumps(ret_cfg))
In the calling orchestration pipeline, I would then have to create individual Variables as needed, and set the values from the from the Output of the for each:
However, as the return values increase than this causes the Pipeline to become cluttered and unmanageable. I'm proposing a JSON variable or Key/Value Variable type (or something similar) in addition to the String/Array/Boolean/Integer types, and a way to parse and/or read the JSON value from the notebook (which could also be useful in other situations different to this.)
Recent ideas
Dedicated Fabric Message Center to communicate planned Fabric Changes
Summary Microsoft recently rolled out a change that automatically enabled the Item Recovery tenant setting in Microsoft Fabric for tenants where the setting had not been explicitly configured. Accor...Edgar_4 hours agoNew MemberNew20Views3likes0CommentsWorkspace-Level Control of Storage Modes (Import vs DirectQuery vs Direct Lake)
Organizations operating under strict governance and data residency requirements need the ability to control which storage modes are permitted within a workspace. Currently, report authors can choose...masoodaftab5 hours agoNew MemberNew4Views0likes0CommentsGranular Workspace Permissions Beyond Workspace Roles
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } The current workspace access model is limited to the predefined workspac...masooddevcorp5 hours agoNew MemberNew12Views1like0CommentsAccessibility issue in the Share dialog of embedded Power BI reports
Accessibility issue in the Share dialog of embedded Power BI reports I would like to share an accessibility finding identified while testing an embedded Power BI report published as part of the cont...ugartema9 hours agoNew MemberNew10Views1like0Comments