You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/parameters-data-flow.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ Use this capability to make your data flows general-purpose, flexible, and reusa
26
26
27
27
## Create parameters in a mapping data flow
28
28
29
-
To add parameters to your data flow, click on the blank portion of the data flow canvas to see the general properties. In the settings pane, you will see a tab called **Parameter**. Select **New** to generate a new parameter. For each parameter, you must assign a name, select a type, and optionally set a default value.
29
+
To add parameters to your data flow, click on the blank portion of the data flow canvas to see the general properties. In the settings pane, you'll see a tab called **Parameter**. Select **New** to generate a new parameter. For each parameter, you must assign a name, select a type, and optionally set a default value.
30
30
31
-
:::image type="content" source="media/data-flow/create-params.png" alt-text="Create Data Flow parameters":::
31
+
:::image type="content" source="media/data-flow/create-params.png" alt-text="Screenshot of create Data Flow parameters.":::
32
32
33
33
## Use parameters in a mapping data flow
34
34
35
-
Parameters can be referenced in any data flow expression. Parameters begin with $ and are immutable. You will find the list of available parameters inside of the Expression Builder under the **Parameters** tab.
35
+
Parameters can be referenced in any data flow expression. Parameters begin with $ and are immutable. you'll find the list of available parameters inside of the Expression Builder under the **Parameters** tab.
36
36
37
37
:::image type="content" source="media/data-flow/parameter-expression.png" alt-text="Screenshot shows the available parameters in the Parameters tab.":::
38
38
@@ -52,7 +52,7 @@ For the dataset source type, the linked service parameters are exposed directly
52
52
53
53
## Assign parameter values from a pipeline
54
54
55
-
Once you've created a data flow with parameters, you can execute it from a pipeline with the Execute Data Flow Activity. After you add the activity to your pipeline canvas, you will be presented with the available data flow parameters in the activity's **Parameters** tab.
55
+
Once you've created a data flow with parameters, you can execute it from a pipeline with the Execute Data Flow Activity. After you add the activity to your pipeline canvas, you'll be presented with the available data flow parameters in the activity's **Parameters** tab.
56
56
57
57
When assigning parameter values, you can use either the [pipeline expression language](control-flow-expression-language-functions.md) or the [data flow expression language](data-transformation-functions.md) based on spark types. Each mapping data flow can have any combination of pipeline and data flow expression parameters.
58
58
@@ -75,7 +75,7 @@ When assigning a pipeline expression parameter of type string, by default quotes
75
75
If data flow parameter `stringParam` references a pipeline parameter with value `upper(column1)`.
76
76
77
77
- If expression is checked, `$stringParam` evaluates to the value of column1 all uppercase.
78
-
- If expression is not checked (default behavior), `$stringParam` evaluates to `'upper(column1)'`
78
+
- If expression isn't checked (default behavior), `$stringParam` evaluates to `'upper(column1)'`
79
79
80
80
#### Passing in timestamps
81
81
@@ -102,7 +102,7 @@ When `$intParam` is referenced in an expression such as a derived column, it wil
102
102
103
103
### Data flow expression parameters
104
104
105
-
Select **Data flow expression** will open up the data flow expression builder. You will be able to reference functions, other parameters and any defined schema column throughout your data flow. This expression will be evaluated as is when referenced.
105
+
Select **Data flow expression** will open up the data flow expression builder. You'll be able to reference functions, other parameters and any defined schema column throughout your data flow. This expression will be evaluated as is when referenced.
106
106
107
107
> [!NOTE]
108
108
> If you pass in an invalid expression or reference a schema column that doesn't exist in that transformation, the parameter will evaluate to null.
@@ -117,7 +117,7 @@ For example, if you wanted to map a string column based upon a parameter `column
117
117
:::image type="content" source="media/data-flow/parameterize-column-name.png" alt-text="Passing in a column name as a parameter":::
118
118
119
119
> [!NOTE]
120
-
> In data flow expressions, string interpolation (substituting variables inside of the string) is not supported. Instead, concatenate the expression into string values. For example, `'string part 1' + $variable + 'string part 2'`
120
+
> In data flow expressions, string interpolation (substituting variables inside of the string) isn't supported. Instead, concatenate the expression into string values. For example, `'string part 1' + $variable + 'string part 2'`
121
121
122
122
## Next steps
123
123
*[Execute data flow activity](control-flow-execute-data-flow-activity.md)
0 commit comments