Skip to content

Commit 749691e

Browse files
authored
Merge pull request #112987 from djpmsft/docUpdates
collect()
2 parents 50b8be5 + fa6a7ab commit 749691e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/data-factory/data-flow-expression-functions.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ Returns the first not null value from a set of inputs. All inputs should be of t
117117
* ``coalesce(10, 20) -> 10``
118118
* ``coalesce(toString(null), toString(null), 'dumbo', 'bo', 'go') -> 'dumbo'``
119119
___
120+
### <code>collect</code>
121+
<code><b>collect(<i>&lt;value1&gt;</i> : any) => array</b></code><br/><br/>
122+
Collects all values of the expression in the aggregated group into a array. Structures can be collected and transformed to alternate structures during this process. The number of items will be equal to the number of rows in that group and can contain null values. The number of collected items should be small
123+
* ``collect(salesPerson)``
124+
* ``collect(firstName + lastName))``
125+
* ``collect(@(name = salesPerson, sales = salesAmount) )``
126+
___
120127
### <code>columnNames</code>
121128
<code><b>columnNames(<i>&lt;value1&gt;</i> : string) => array</b></code><br/><br/>
122129
Gets all output columns for a stream. You can pass a optional stream name as the second argument.

0 commit comments

Comments
 (0)