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/concepts-data-flow-udf.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,6 @@ ms.date: 04/20/2022
13
13
14
14
# User defined functions in mapping data flow
15
15
16
-
## What is a user defined function?
17
-
18
16
A user defined function is a customized expression you can define to be able to reuse logic across multiple mapping data flows. User defined functions live in a collection called a data flow library to be able to easily group up common sets of customized functions.
19
17
20
18
Whenever you find yourself building the same logic in an expression in across multiple mapping data flows this would be a good opportunity to turn that into a user defined function.
@@ -23,7 +21,7 @@ Whenever you find yourself building the same logic in an expression in across mu
23
21
24
22
To get started with user defined functions, you must first create a data flow library. Navigate to the management page and then find data flow libraries under the author section.
25
23
26
-

24
+

27
25
28
26
29
27
@@ -35,13 +33,13 @@ From here, you can click on +New button to create a new data flow library. Fill
35
33
## New user defined function
36
34
37
35
To create a user defined function, from the data flow library you want to create the function in, click the +New button.
38
-

36
+

39
37
40
38
Fill in the name of your user defined function.
41
39
> [!Note]
42
40
> You cannot use the name of an existing mapping data flow expression. For a list of the current mapping data flow expressions, see [Data transformation expressions in mapping data flow | Microsoft Docs](data-transformation-functions.md)
43
41
44
-

42
+

45
43
46
44
User defined functions can have zero or more arguments. Arguments allow you to pass in values when your function is called and refer to those arguments in your expression logic. Arguments are automatically named from i1, i2, etc. and you can choose the data type of the argument from the dropdown.
0 commit comments