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/cognitive-services/Speech-Service/speech-synthesis-markup.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -622,7 +622,7 @@ In the sample above, we're using the International Phonetic Alphabet, also known
622
622
623
623
Considering that the IPA is not easy to remember, the Speech service defines a phonetic set for seven languages (`en-US`, `fr-FR`, `de-DE`, `es-ES`, `ja-JP`, `zh-CN`, and `zh-TW`).
624
624
625
-
You can use the `sapi` as the vale for the `alphabet` attribute with custom lexicons as demonstrated below:
625
+
You can use the `sapi` as the value for the `alphabet` attribute with custom lexicons as demonstrated below:
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-deploy-azure-kubernetes-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ At model deployment time, for a successful model deployment AKS node should be a
134
134
135
135
After the model is deployed and service starts, azureml-fe will automatically discover it using AKS API and will be ready to route request to it. It must be able to communicate to model PODs.
136
136
>[!Note]
137
-
>If the deployed model requires any connectivity (e.g. querying external database or other REST service, downloading a BLOG etc), then both DNS resolution and outbound communication for these services should be enabled.
137
+
>If the deployed model requires any connectivity (e.g. querying external database or other REST service, downloading a BLOB etc), then both DNS resolution and outbound communication for these services should be enabled.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/sql/query-cosmos-db-analytical-store.md
+22-7Lines changed: 22 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,23 +28,32 @@ Serverless SQL pool enables you to query Azure Cosmos DB analytical storage usin
28
28
29
29
### [OPENROWSET with key](#tab/openrowset-key)
30
30
31
-
To support querying and analyzing data in an Azure Cosmos DB analytical store, a serverless SQL pool uses the following `OPENROWSET` syntax:
31
+
To support querying and analyzing data in an Azure Cosmos DB analytical store, a serverless SQL pool is used. The serverless SQL pool uses the `OPENROWSET`SQL syntax, so you must first convert your Azure Cosmos DB connection string to this format:
32
32
33
33
```sql
34
34
OPENROWSET(
35
35
'CosmosDB',
36
-
'<Azure Cosmos DB connection string>',
36
+
'<SQL connection string for Azure Cosmos DB>',
37
37
<Container name>
38
38
) [ < with clause > ] AS alias
39
39
```
40
40
41
-
The Azure Cosmos DB connection string specifies the Azure Cosmos DB account name, database name, database account master key, and an optional region name to the `OPENROWSET` function.
41
+
The SQL connection string for Azure Cosmos DB specifies the Azure Cosmos DB account name, database name, database account master key, and an optional region name to the `OPENROWSET` function. Some of this information can be taken from the standard Azure Cosmos DB connection string.
42
+
43
+
Converting from the standard Azure Cosmos DB connection string format:
The region is optional. If omitted, the container's primary region is used.
56
+
48
57
The Azure Cosmos DB container name is specified without quotation marks in the `OPENROWSET` syntax. If the container name has any special characters, for example, a dash (-), the name should be wrapped within square brackets (`[]`) in the `OPENROWSET` syntax.
49
58
50
59
### [OPENROWSET with credential](#tab/openrowset-credential)
@@ -54,13 +63,14 @@ You can use `OPENROWSET` syntax that references credential:
54
63
```sql
55
64
OPENROWSET(
56
65
PROVIDER ='CosmosDB',
57
-
CONNECTION ='<Azure Cosmos DB connection string without account key>',
66
+
CONNECTION ='<SQL connection string for Azure Cosmos DB without account key>',
@@ -161,6 +171,7 @@ Let's imagine that we've imported some data from the [ECDC COVID dataset](https:
161
171
These flat JSON documents in Azure Cosmos DB can be represented as a set of rows and columns in Synapse SQL. The `OPENROWSET` function enables you to specify a subset of properties that you want to read and the exact column types in the `WITH` clause:
162
172
163
173
### [OPENROWSET with key](#tab/openrowset-key)
174
+
164
175
```sql
165
176
SELECT TOP 10*
166
177
FROM OPENROWSET(
@@ -169,7 +180,9 @@ FROM OPENROWSET(
169
180
Ecdc
170
181
) with ( date_rep varchar(20), cases bigint, geo_id varchar(6) ) as rows
171
182
```
183
+
172
184
### [OPENROWSET with credential](#tab/openrowset-credential)
185
+
173
186
```sql
174
187
/* Setup - create server-level or database scoped credential with Azure Cosmos DB account key:
175
188
CREATE CREDENTIAL MyCosmosDbAccountCredential
@@ -182,7 +195,9 @@ FROM OPENROWSET(
182
195
OBJECT ='Ecdc',
183
196
SERVER_CREDENTIAL ='MyCosmosDbAccountCredential'
184
197
) with ( date_rep varchar(20), cases bigint, geo_id varchar(6) ) as rows
198
+
185
199
```
200
+
186
201
---
187
202
The result of this query might look like the following table:
188
203
@@ -252,7 +267,7 @@ WITH ( paper_id varchar(8000),
252
267
The result of this query might look like the following table:
253
268
254
269
| paper_id | title | metadata | authors |
255
-
| --- | --- | --- |
270
+
| --- | --- | --- | --- |
256
271
| bb11206963e831f… | Supplementary Information An eco-epidemi… |`{"title":"Supplementary Informati…`|`[{"first":"Julien","last":"Mélade","suffix":"","af…`|
257
272
| bb1206963e831f1… | The Use of Convalescent Sera in Immune-E… |`{"title":"The Use of Convalescent…`|`[{"first":"Antonio","last":"Lavazza","suffix":"", …`|
0 commit comments