Skip to content

Commit b953611

Browse files
committedMar 24, 2020
edits
1 parent edb5782 commit b953611

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 
Loading

‎articles/stream-analytics/stream-analytics-javascript-user-defined-functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Azure Stream Analytics JavaScript user-defined functions
3-
description: Introduction to JavaScript user-defined functions in Stream Analytics
3+
description: This article is an introduction to JavaScript user-defined functions in Stream Analytics.
44
author: rodrigoaatmicrosoft
55
ms.author: rodrigoa
66
ms.service: stream-analytics
@@ -39,14 +39,14 @@ Although functions like **Date.GetDate()** or **Math.random()** are not blocked
3939
To create a JavaScript user-defined function in your Stream Analytics job, select **Functions** under **Job Topology**. Then, select **JavaScript UDF** from the **+Add** dropdown menu.
4040
![Add JavaScript UDF](./media/javascript/stream-analytics-jsudf-add.png)
4141

42-
You must then provide the following properties and hit **Save**.
42+
You must then provide the following properties and select **Save**.
4343
|Property|Description|
4444
|--------|-----------|
4545
|Function alias|Enter a name to invoke the function in your query.|
4646
|Output type|Type that will be returned by your JavaScript user-defined function to your Stream Analytics query.|
4747
|Function defintion|Implementation of your Javascript function that will be executed each time your UDF gets invoked from your query.|
4848

49-
## Testing and troubleshooting JavaScript UDFs
49+
## Test and troubleshoot JavaScript UDFs
5050
You can test and debug your JavaScript UDF logic in any browser. Debugging and testing the logic of these user-defined functions is currently not supported in the Stream Analytics portal. Once the function works as expected, you can add it to the Stream Analytics job as mentioned above and then invoke it directly from your query. You can test your query logic with JavaScript UDF using [Stream Analytics tools for Visual Studio](https://docs.microsoft.com/azure/stream-analytics/stream-analytics-tools-for-visual-studio-install).
5151

5252
JavaScript runtime errors are considered fatal, and are surfaced through the Activity log. To retrieve the log, in the Azure portal, go to your job and select **Activity log**.

0 commit comments

Comments
 (0)
Please sign in to comment.