Skip to content

Commit f9f5eb6

Browse files
authored
Merge pull request #80316 from JSeb225/master
Add sampling data
2 parents 8430644 + e5d0211 commit f9f5eb6

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

articles/stream-analytics/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
href: stream-analytics-test-query.md
8989
- name: View results on a dashboard
9090
href: stream-analytics-power-bi-dashboard.md
91-
- name: Clean up a job
91+
- name: Stop or delete a job
9292
href: stream-analytics-clean-up-your-job.md
9393
- name: Pair jobs for reliability
9494
href: stream-analytics-job-reliability.md

articles/stream-analytics/stream-analytics-test-query.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ ms.author: mamccrea
77
ms.reviewer: jasonh
88
ms.service: stream-analytics
99
ms.topic: conceptual
10-
ms.date: 12/07/2018
10+
ms.date: 6/21/2019
1111
ms.custom: seodec18
1212
---
1313

1414
# Test a Stream Analytics query with sample data
1515

16-
By using Azure Stream Analytics, you can upload sample data and test queries in the Azure portal without starting or stopping a job.
16+
By using Azure Stream Analytics, you can sample data from inputs or upload sample data to test queries in the Azure portal without starting or stopping a job.
1717

1818
## Upload sample data and test the query
1919

@@ -23,11 +23,15 @@ By using Azure Stream Analytics, you can upload sample data and test queries in
2323

2424
3. On the Stream Analytics job page, under the **Job Topology** heading, select **Query** to open the Query editor window.
2525

26-
4. To test your query with sample input data, right-click on any of your inputs. Then select **Upload sample data from file**. The data must be serialized in JSON, CSV or AVRO. Sample input must be encoded in UTF-8 and not compressed. Only comma (,) delimiter is supported for testing CSV input on portal.
26+
4. To test your query you can then either sample data from a live input, or upload from a file. The data must be serialized in JSON, CSV or AVRO. Sample input must be encoded in UTF-8 and not compressed. Only comma (,) delimiter is supported for testing CSV input on portal.
27+
28+
1. Using live input: right-click on any of your inputs. Then select **Sample data from input**. In the next screen, you can set the duration of the sample.
29+
30+
1. Using file: right-click on any of your inputs. Then select **Upload sample data from file**.
2731

2832
![stream analytics query editor test query](media/stream-analytics-test-query/stream-analytics-test-query-editor-upload.png)
2933

30-
5. After the upload is complete, select **Test** to test this query against the sample data you have provided.
34+
5. After the sampling or upload is complete, select **Test** to test this query against the sample data you have provided.
3135

3236
![stream analytics query editor test sample data](media/stream-analytics-test-query/stream-analytics-test-query-editor-test.png)
3337

articles/stream-analytics/stream-analytics-troubleshoot-output.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ Note the following observations when configuring IGNORE_DUP_KEY for several type
8686
* You can set the IGNORE_DUP_KEY option using ALTER INDEX for a unique index, which is different from PRIMARY KEY/UNIQUE constraint and created using CREATE INDEX or INDEX definition.
8787
* IGNORE_DUP_KEY doesn’t apply to column store indexes because you can’t enforce uniqueness on such indexes.
8888

89+
## Column names are lower-cased by Azure Stream Analytics
90+
When using the original compatibility level (1.0), Azure Stream Analytics used to change column names to lower case. This behavior was fixed in later compatibility levels. In order to preserve the case, we advise customers to move to the compatibility level 1.1 and later. You can find more information on [Compatibility level for Azure Stream Analytics jobs](https://docs.microsoft.com/azure/stream-analytics/stream-analytics-compatibility-level).
91+
92+
8993
## Get help
9094

9195
For further assistance, try our [Azure Stream Analytics forum](https://social.msdn.microsoft.com/Forums/azure/home?forum=AzureStreamAnalytics).

0 commit comments

Comments
 (0)