Skip to content

Commit 0492704

Browse files
authored
Update data-flow-cast.md
1 parent c534b44 commit 0492704

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ Use the cast transformation to easily modify the data types of individual column
2424

2525
:::image type="content" source="media/data-flow/cast-transformation-001.png" alt-text="Rank settings":::
2626

27-
**Column name:** If a sort column is of type string, case will be factored into the ranking.
27+
To modify the data type for columns in your data flow, add columns to "Cast settings" using the plus (+) sign.
2828

29-
**Type:** If enabled, the rank column will be dense ranked. Each rank count will be a consecutive number and rank values won't be skipped after a tie.
29+
**Column name:** Pick the column you wish to cast from your list of metadata columns.
3030

31-
**Format:** The name of the rank column generated. This column will be of type long.
31+
**Type:** Choose the data type to cast your column to. If you pick "complex", you can then select "Define complex type" and define structures, arrays, and maps inside the expression builder.
3232

33-
**Assert type check:** Choose which columns you're sorting by and in which order the sort happens. The order determines sorting priority.
33+
**Format:** Some data types, like decimal and dates, will allow for additional formatting options.
3434

35-
The above configuration takes incoming basketball data and creates a rank column called 'pointsRanking'. The row with the highest value of the column *PTS* will have a *pointsRanking* value of 1.
35+
**Assert type check:** The cast transformation allows for type checking. If the casting fails, the row will be marked as an assertion error that you can trap later in the stream.
3636

3737
## Data flow script
3838

0 commit comments

Comments
 (0)