Skip to content

Commit 98ec276

Browse files
committed
correct Acrolinx flags
1 parent d95d584 commit 98ec276

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

articles/synapse-analytics/quickstart-connect-synapse-link-cosmos-db.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Connect to Synapse Link for Azure Cosmos DB
3-
description: How to connect a Azure Cosmos DB to a Synapse workspace with Synapse Link
3+
description: How to connect an Azure Cosmos DB to a Synapse workspace with Synapse Link
44
services: synapse-analytics
55
author: ArnoMicrosoft
66
ms.service: synapse-analytics
@@ -24,11 +24,11 @@ Before you connect an Azure Cosmos DB account to your workspace, there are a few
2424

2525
## Enable Azure Cosmos DB analytical store
2626

27-
To run large-scale analytics into Azure Cosmos DB without impacting your operational performance, we recommend enabling Synapse Link for Azure Cosmos DB which bring HTAP capability to a container and built-in support in Azure Synapse. Follow this quickstart to enable Synapse Link for Cosmos DB containers.
27+
To run large-scale analytics into Azure Cosmos DB without impacting your operational performance, we recommend enabling Synapse Link for Azure Cosmos DB. This function brings HTAP capability to a container and built-in support in Azure Synapse. Follow this quickstart to enable Synapse Link for Cosmos DB containers.
2828

2929
## Navigate to Synapse Studio
3030

31-
From your Synapse workspace, select **Launch Synapse Studio**. On the Synapse Studio home page, select **Data** which will take you to the **Data Object Explorer**.
31+
From your Synapse workspace, select **Launch Synapse Studio**. On the Synapse Studio home page, select **Data, which will take you to the **Data Object Explorer**.
3232

3333
## Connect an Azure Cosmos DB database to a Synapse workspace
3434

@@ -41,10 +41,10 @@ From the Data Object Explorer, you can directly connect an Azure Cosmos DB datab
4141
4. Select ***Continue***
4242
5. Name the linked service. The name will be displayed in the Object Explorer and used by Synapse run-times to connect to the database and containers. We recommend using a friendly name.
4343
6. Select the **Cosmos DB account name** and **database name**
44-
7. (Optional) If no region is specified, Synapse run-time operations will be routed toward the nearest region where the analytical store is enabled. However, you can set manually which region you want your users to access Cosmos DB analytical store. Select **Additional connection properties** and then **New**. Under **Property Name**, write ***PreferredRegions*** and set the **Value** to the region you want (example: WestUS2, there is no space between words and number)
44+
7. (Optional) If no region is specified, Synapse run-time operations will be routed toward the nearest region where the analytical store is enabled. However, you can set manually which region you want your users to access Cosmos DB analytical store. Select **Additional connection properties** and then **New**. Under **Property Name**, write ***PreferredRegions*** and set the **Value** to the region you want (example: WestUS2, there is no space between words and numbers)
4545
8. Select ***Create***
4646

47-
Azure Cosmos DB database are visible under the tab **Linked** in the Azure Cosmos DB section. You can differentiate an HTAP enabled Azure Cosmos DB container from an OLTP only container with the following icons:
47+
Azure Cosmos DB databases are visible under the tab **Linked** in the Azure Cosmos DB section. You can differentiate an HTAP enabled Azure Cosmos DB container from an OLTP only container with the following icons:
4848

4949
**Synapse container**:
5050

@@ -56,7 +56,7 @@ Azure Cosmos DB database are visible under the tab **Linked** in the Azure Cosmo
5656

5757
## Quickly interact with code-generated actions
5858

59-
By right-clicking into a container, you have list of gestures that will trigger a Spark or SQL run-time. Writing into a container will happen through the Transactional Store of Azure Cosmos DB and will consume Request Units.
59+
When you right-click into a container, you'll have a list of gestures that will trigger a Spark or SQL run-time. Writing into a container will happen through the Transactional Store of Azure Cosmos DB and will consume Request Units.
6060

6161
## Next steps
6262

articles/synapse-analytics/synapse-link/how-to-connect-synapse-link-cosmos-db.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To run large-scale analytics into Azure Cosmos DB without impacting your operati
2828

2929
## Navigate to Synapse Studio
3030

31-
From your Synapse workspace, select **Launch Synapse Studio**. On the Synapse Studio home page, select **Data** which will take you to the **Data Object Explorer**.
31+
From your Synapse workspace, select **Launch Synapse Studio**. On the Synapse Studio home page, select **Data, which will take you to the **Data Object Explorer**.
3232

3333
## Connect an Azure Cosmos DB database to a Synapse workspace
3434

@@ -44,7 +44,7 @@ From the Data Object Explorer, you can directly connect to an Azure Cosmos DB da
4444
7. (Optional) If no region is specified, Synapse run-time operations will be routed toward the nearest region where the analytical store is enabled. However, you can set manually which region you want your users to access Cosmos DB analytical store. Select **Additional connection properties** and then **New**. Under **Property Name**, write ***PreferredRegions*** and set the **Value** to the region you want (example: WestUS2, there is no space between words and number)
4545
8. Select ***Create***
4646

47-
Azure Cosmos DB database are visible under the tab **Linked** in the Azure Cosmos DB section. With Azure Cosmos DB, you can differentiate an HTAP enabled container from an OLTP only container through the following icons:
47+
Azure Cosmos DB databases are visible under the tab **Linked** in the Azure Cosmos DB section. With Azure Cosmos DB, you can differentiate an HTAP enabled container from an OLTP only container through the following icons:
4848

4949
**OLTP only container**:
5050

articles/synapse-analytics/synapse-link/how-to-query-analytical-store-spark.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ ms.reviewer: jrasnick
1313

1414
# Query Azure Cosmos DB analytical store with Synapse Spark
1515

16-
This article gives some examples on how you can interact with the analytical store from Synapse gestures. Gestures are visible when you right-click on a container. With gestures, you can quickly generate code and tailor it to your needs. They are also perfect for discovering data with a single click.
16+
This article gives some examples on how you can interact with the analytical store from Synapse gestures. Gestures are visible when you right-click on a container. With gestures, you can quickly generate code and tailor it to your needs. Gestures are also perfect for discovering data with a single click.
1717

1818
## Load to DataFrame
1919

20-
In this step, you will read data from Azure Cosmos DB analytical store in a Spark DataFrame. It will display 10 rows from the DataFrame called ***df***. Once your data is into dataframe, you can perform additional analysis.
20+
In this step, you'll read data from Azure Cosmos DB analytical store in a Spark DataFrame. It will display 10 rows from the DataFrame called ***df***. Once your data is into dataframe, you can perform additional analysis.
2121

22-
This operation does not impact the transactional store.
22+
This operation doesn't impact the transactional store.
2323

2424
```python
2525
# To select a preferred list of regions in a multi-region Cosmos DB account, add .option("spark.cosmos.preferredRegions", "<Region1>,<Region2>")
@@ -44,7 +44,7 @@ val df_olap = spark.read.format("cosmos.olap").
4444

4545
## Create Spark table
4646

47-
In this gesture, you will create a Spark table pointing to the container you selected. That operation does not incur any data movement. If you decide to delete that table, the underlying container (and corresponding analytical store) won't be impacted.
47+
In this gesture, you'll create a Spark table pointing to the container you selected. That operation doesn't incur any data movement. If you decide to delete that table, the underlying container (and corresponding analytical store) won't be impacted.
4848

4949
This scenario is convenient to reuse tables through third-party tools and provide accessibility to the data for the run-time.
5050

@@ -59,7 +59,7 @@ create table call_center using cosmos.olap options (
5959
```
6060

6161
## Write DataFrame to container
62-
In this gesture, you will write a dataframe into a container. This operation will impact the transactional performance and consume Request Units. Using Azure Cosmos DB transactional performance is ideal for write transactions.
62+
In this gesture, you'll write a dataframe into a container. This operation will impact the transactional performance and consume Request Units. Using Azure Cosmos DB transactional performance is ideal for write transactions.
6363

6464
Make sure that you replace **YOURDATAFRAME** by the dataframe that you want to write back.
6565

@@ -91,9 +91,9 @@ df.write.format("cosmos.oltp").
9191
```
9292

9393
## Load streaming DataFrame from container
94-
In this gesture, you will use Spark Streaming capability to load data from a container into a dataframe. The data will be stored into the primary data lake account (and file system) that you connected to the workspace.
94+
In this gesture, you'll use Spark Streaming capability to load data from a container into a dataframe. The data will be stored into the primary data lake account (and file system) that you connected to the workspace.
9595

96-
If the folder */localReadCheckpointFolder* is not created, it will be automatically created. This operation will impact the transactional performance of Cosmos DB.
96+
If the folder */localReadCheckpointFolder* isn't created, it will be automatically created. This operation will impact the transactional performance of Cosmos DB.
9797

9898
```python
9999
# To select a preferred list of regions in a multi-region Cosmos DB account, add .option("spark.cosmos.preferredRegions", "<Region1>,<Region2>")
@@ -125,7 +125,7 @@ val dfStream = spark.readStream.
125125
```
126126

127127
## Write streaming DataFrame to container
128-
In this gesture, you will write a streaming dataframe into the Cosmos DB container you selected. If the folder */localReadCheckpointFolder* is not created, it will be automatically created. This operation will impact the transactional performance of Cosmos DB.
128+
In this gesture, you'll write a streaming dataframe into the Cosmos DB container you selected. If the folder */localReadCheckpointFolder* isn't created, it will be automatically created. This operation will impact the transactional performance of Cosmos DB.
129129

130130
```python
131131
# To select a preferred list of regions in a multi-region Cosmos DB account, add .option("spark.cosmos.preferredRegions", "<Region1>,<Region2>")

0 commit comments

Comments
 (0)