Skip to content

Commit 3015dc9

Browse files
authored
Merge pull request #96342 from kromerm/dataflow-1
dataflow expression builder
2 parents c03a8aa + 62cf2b6 commit 3015dc9

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

articles/data-factory/concepts-data-flow-expression-builder.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: kromerm
55
ms.author: makromer
66
ms.service: data-factory
77
ms.topic: conceptual
8-
ms.date: 09/30/2019
8+
ms.date: 11/17/2019
99
---
1010

1111
# Mapping data flow Expression Builder
@@ -73,6 +73,40 @@ With expression functions that return arrays, use square brackets [] to address
7373
When you have column names that include special characters or spaces, surround the name with curly braces.
7474
* ```{[dbo].this_is my complex name$$$}```
7575

76+
## Keyboard shortcuts
77+
78+
* ```Ctrl-K Ctrl-C```: Comments entire line
79+
* ```Ctrl-K Ctrl-U```: Uncomment
80+
* ```F1```: Provide editor help commands
81+
* ```Alt-Down Arrow```: Move current line down
82+
* ```Alt-Up Arrow```: Move current line up
83+
* ```Cntrl-Space```: Show context help
84+
85+
## Manual comments
86+
87+
* ```/* This is my comment */```
88+
89+
* ```/* This is a```
90+
* ```multi-line comment */```
91+
92+
* ```// This is a single line comment```
93+
94+
If you put a comment at the top of your expression, it will appear in the transformation text box to document your transformation expressions:
95+
96+
![Comments](media/data-flow/comments2.png "Comments")
97+
98+
## Convert to dates or timestamps
99+
100+
```toString(toTimestamp('12/31/2016T00:12:00', 'MM/dd/yyyy\'T\'HH:mm:ss'), 'MM/dd /yyyy\'T\'HH:mm:ss')```
101+
102+
Note that to include string literals in your timestamp output, you need to wrap your conversion inside of a toString()
103+
104+
## Handling column names with special characters
105+
106+
When you have column names that include special characters or spaces, surround the name with curly braces.
107+
108+
```{[dbo].this_is my complex name$$$}```
109+
76110
## Next steps
77111

78112
[Begin building data transformation expressions](data-flow-expression-functions.md)
12.4 KB
Loading
-9.92 KB
Loading

0 commit comments

Comments
 (0)