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/transform-data-using-script.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,10 +163,10 @@ Sample output:
163
163
164
164
|Property name |Description |Condition |
165
165
|---------|---------|---------|
166
-
|resultSetCount |The count of result sets returned by the script. |If firstRowOnly is false. |
167
-
|resultSets |The array which contains all the result sets. |If firstRowOnly is false.|
168
-
|resultSets.rowCount |Total rows in the result set. |If firstRowOnly is false.|
169
-
|resultSets.rows |The array of rows in the result set. |If firstRowOnly is false. |
166
+
|resultSetCount |The count of result sets returned by the script. |Always|
167
+
|resultSets |The array which contains all the result sets. |Always|
168
+
|resultSets.rowCount |Total rows in the result set. |Always|
169
+
|resultSets.rows |The array of rows in the result set. |Always|
170
170
|recordsAffected |The row count of affected rows by the script. |If scriptType is NonQuery. |
171
171
|outputParameters |The output parameters of the script. |If parameter type is Output or InputOutput. |
172
172
|outputLogs |The logs written by the script, for example, print statement. |If connector supports log statement and enableScriptLogs is true and logLocationSettings is not provided. |
@@ -176,8 +176,9 @@ Sample output:
176
176
> [!NOTE]
177
177
> - The output is collected every time a script block is executed. The final output is the merged result of all script block outputs. The output parameter with same name in different script block will get overwritten.
178
178
> - Since the output has size / rows limitation, the output will be truncated in following order: logs -> parameters -> rows. Note, this applies to a single script block, which means the output rows of next script block won’t evict previous logs.
179
-
> - Any error caused by log won’t fail activity.
180
-
> - For consuming activity output in down stream activity please refer to the [Lookup activity result documentation](control-flow-lookup-activity.md#use-the-lookup-activity-result).
179
+
> - Any error caused by log won’t fail the activity.
180
+
> - For consuming activity output resultSets in down stream activity please refer to the [Lookup activity result documentation](control-flow-lookup-activity.md#use-the-lookup-activity-result).
181
+
> - Use outputLogs when you are using 'PRINT' statements for logging purpose. If query returns resultSets, it will be available in the activity output and will be limited to 5000 rows/ 2MB size limit.
181
182
182
183
## Configure the Script activity using UI
183
184
@@ -204,7 +205,7 @@ Logging options:
204
205
-_External storage_ – Persists output to storage. Use this option if the output size is greater than 2MB or you would like to explicitly persist the output on your storage account.
205
206
206
207
> [!NOTE]
207
-
> **Billing** - The Script activity will be billed as **Pipeline activities**.
208
+
> **Billing** - The Script activity will be [billed](https://azure.microsoft.com/pricing/details/data-factory/data-pipeline/) as **Pipeline activities**.
208
209
209
210
## Next steps
210
211
See the following articles that explain how to transform data in other ways:
@@ -216,4 +217,4 @@ See the following articles that explain how to transform data in other ways:
0 commit comments