Skip to content

Commit 4882c9d

Browse files
authored
Merge pull request #190717 from kromerm/columnnames
Columnnames
2 parents b2de320 + 8a9b299 commit 4882c9d

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-flows
99
ms.custom: synapse
1010
ms.topic: conceptual
11-
ms.date: 02/02/2022
11+
ms.date: 03/05/2022
1212
---
1313

1414
# Expression functions in mapping data flow
@@ -43,7 +43,7 @@ In Data Factory and Synapse pipelines, use the expression language of the mappin
4343
| [cbrt](data-flow-expressions-usage.md#cbrt) | Calculates the cube root of a number. |
4444
| [ceil](data-flow-expressions-usage.md#ceil) | Returns the smallest integer not smaller than the number. |
4545
| [coalesce](data-flow-expressions-usage.md#coalesce) | Returns the first not null value from a set of inputs. All inputs should be of the same type. |
46-
| [columnNames](data-flow-expressions-usage.md#columnNames) | Gets the names of all output columns for a stream. You can pass an optional stream name as the second argument. |
46+
| [columnNames](data-flow-expressions-usage.md#columnNames) | Gets the names of all output columns for a stream. You can pass an optional stream name as the first argument and optional second argument to only return schema drift columns. |
4747
| [columns](data-flow-expressions-usage.md#columns) | Gets the values of all output columns for a stream. You can pass an optional stream name as the second argument. |
4848
| [compare](data-flow-expressions-usage.md#compare) | Compares two values of the same type. Returns a negative integer if value1 < value2, 0 if value1 == value2, positive value if value1 > value2. |
4949
| [concat](data-flow-expressions-usage.md#concat) | Concatenates a variable number of strings together. Same as the + operator with strings. |
@@ -155,4 +155,4 @@ In Data Factory and Synapse pipelines, use the expression language of the mappin
155155
- List of all [metafunctions](data-flow-metafunctions.md).
156156
- List of all [window functions](data-flow-window-functions.md).
157157
- [Usage details of all data transformation expressions](data-flow-expressions-usage.md).
158-
- [Learn how to use Expression Builder](concepts-data-flow-expression-builder.md).
158+
- [Learn how to use Expression Builder](concepts-data-flow-expression-builder.md).

articles/data-factory/data-flow-expressions-usage.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-flows
99
ms.custom: synapse
1010
ms.topic: conceptual
11-
ms.date: 02/02/2022
11+
ms.date: 03/05/2022
1212
---
1313

1414
# Data transformation expression usage in mapping data flow
@@ -404,10 +404,13 @@ ___
404404
<a name="columnNames" ></a>
405405

406406
### <code>columnNames</code>
407-
<code><b>columnNames(<i>&lt;value1&gt;</i> : string) => array</b></code><br/><br/>
408-
Gets the names of all output columns for a stream. You can pass an optional stream name as the second argument.
407+
<code><b>columnNames(<i>&lt;value1&gt;</i> : string, i>&lt;value1&gt;</i> : boolean) => array</b></code><br/><br/>
408+
Gets the names of all output columns for a stream. You can pass an optional stream name as the first argument. The second argument is also optional, with false as the default. If you set the second argument to ``true()``, ADF will return only columns that are drifted via schema drift.
409409
* ``columnNames()``
410410
* ``columnNames('DeriveStream')``
411+
* ``columnNames('DeriveStream', true())``
412+
* ``columnNames('', true())``
413+
411414
___
412415

413416

articles/data-factory/data-flow-metafunctions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-flows
99
ms.custom: synapse
1010
ms.topic: conceptual
11-
ms.date: 02/02/2022
11+
ms.date: 03/05/2022
1212
---
1313

1414
# Metafunctions in mapping data flow
@@ -49,4 +49,4 @@ Metafunctions primarily function on metadata in your data flow
4949
- List of all [map functions](data-flow-map-functions.md).
5050
- List of all [window functions](data-flow-window-functions.md).
5151
- [Usage details of all data transformation expressions](data-flow-expressions-usage.md).
52-
- [Learn how to use Expression Builder](concepts-data-flow-expression-builder.md).
52+
- [Learn how to use Expression Builder](concepts-data-flow-expression-builder.md).

0 commit comments

Comments
 (0)