Skip to content

Commit cb6ade3

Browse files
committed
merge edits
1 parent 8a3406f commit cb6ade3

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

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

1414
# Query Azure Cosmos DB Analytical Store with Synapse Spark
1515

16-
<<<<<<< HEAD
1716
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.
1817

1918
## Load to DataFrame
2019

2120
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.
2221

2322
This operation doesn't impact the transactional store.
24-
=======
25-
This article gives some examples on how you can interact with the Analytical Store from Synapse gestures. Those gestures are visible when you right-click on a container. With gestures, you can quickly generate code and tweak it to your needs. They are also perfect for discovering data with a single click.
26-
27-
## Load to DataFrame
28-
29-
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 in a dataframe, you can perform additional analysis. This operation does not impact the transactional store.
30-
>>>>>>> a72a67c843c85b268d781aa2bf780e4f89f646aa
3123

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

5345
## Create Spark table
5446

55-
<<<<<<< HEAD
5647
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.
5748

5849
This scenario is convenient to reuse tables through third-party tools and provide accessibility to the data for the run-time.
59-
=======
60-
In this gesture, you will create a Spark table pointing to the container you selected. This operation does not incur any data movement. If you decide to delete the table, the underlying container (and corresponding Analytical Store) won't be impacted. This scenario is convenient to reuse tables through third-party tools and provide accessibility to the data at run-time.
61-
>>>>>>> a72a67c843c85b268d781aa2bf780e4f89f646aa
6250

6351
```sql
6452
%%sql

0 commit comments

Comments
 (0)