Enable Dataflow Gen2 to Dynamically Adjust Schema Mapping & Resource Paths Using Pipeline Parameters
Please consider enabling Dataflow Gen2 to:
- Dynamically adjust schema mapping at runtime based on the resolved parameter value.
- Allow resource paths (such as Lakehouse table names) to be fully driven by public parameters from pipelines.
- Support end‑to‑end dynamic data ingestion patterns commonly used in modern data engineering.
@https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-parameters#considerations-and-limitations
7 Comments
- miguel
Community Admin
Status changed:NewtoNeed ClarificationHi!
Could you tell us a bit more about the scenario for #1 and #3?
For #2, and specifically for your case with Lakehouse destinations, changing the name of your table is completely supported for Dataflow public parameters. You can follow the tutorial below for more information on how to make that happen:
Parameterized Dataflow Gen2 - Microsoft Fabric | Microsoft Learn
- ChunPoNew MemberI have contacted the support team and here is their response: Please review the document below, which outlines that using public parameters is limited when parameters change the resource path for either the source or destination. Additionally, parameters cannot be used to modify schema mapping. @https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-parameters#considerations-and-limitations
- miguel
Community Admin
That is correct information. However, changing the LakehouseId, WorkspaceId or TableName when using the Lakehouse connector (point #2) do not impact the resource path. By resource path we are referring to the connection component as described in the Dataflow item definition from the link below:
Dataflow definition - Microsoft Fabric REST APIs | Microsoft Learn
If you could tell us a bit more about your scenario for #1 and #3, perhaps with an example, that would help tremendously.
- AMladenovRegular Visitormiguel I have the following use-case for #1/#3 - Metadata driven dataflow which ingest X number of excel files from a Sharepoint, the parameters (sourcepath, filename, column mapping, column datatypes, destination schema, destination tablename, filters on columns and etc.) are read from a JSON files with a ForEach loop and fed to the dataflow. Currently I cannot manage to parametrize the data destination table schema, it does not follow the set schema in the dataflow for the current ingested file (at runtime), the one set at the time of dataflow creation through the UI persists.
- miguel
Community Admin
thanks AMladenov !
I was able to find two ideas that you can upvote that are requesting that exact feature:
Dataflow Gen2: Append With Dynamic Schema - Microsoft Fabric Community
Dynamic Schema limitation in DataFlow Gen2 - Microsoft Fabric Community
Do feel free to post any new ideas if perhaps your scenario differs from any of those so our team can take it into consideration.
Recent ideas
Control Schedule Activation per Environment in Deployment Pipelines
Currently, with the new multiple scheduler feature, we can define multiple run schedules for a Fabric item. However, when using deployment pipelines, there’s no way to control which schedules are act...frithjof_v54 minutes agoCommunity ChampionPlanned5.6KViews64likes10CommentsLet Workspace Admins manage Fabric Policies
For example, allow a Workspace Admin to grant other identities the Contributor role, while also granting them higher privileges in certain areas, e.g. List Workspace role permissions (without resha...frithjof_v3 hours agoCommunity ChampionNew44Views0likes3CommentsSupport Fabric SQL Database with workspace-level inbound Private Link
Fabric SQL Database supports tenant-level Private Link but not workspace-level Private Link. Securing a small number of databases therefore requires enabling Private Link across the entire tenant, in...WorkFull224 hours agoAdvocate INew49Views1like3CommentsShow Refreshing indicator in workspace for semantic model refreshes from pipelines and XMLA
When I start a semantic model refresh by hand ("Refresh now") or from a schedule, the workspace list shows a spinning refresh icon next to the model. That way, anyone can see a refresh is running. T...JDownes7 hours agoRegular VisitorNew11Views0likes0CommentsREST API - exclude hidden report pages
For the "Reports - Get Pages" REST API call, exclude hidden report pages or indicate that the page is hidden.alec_johnson8 hours agoNew MemberNeeds Votes652Views32likes10Comments