Skip to content

Commit 1d62fd5

Browse files
committed
Modified connect-from-databricks.md image link
1 parent 4d98cda commit 1d62fd5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/cosmos-db/mongodb/vcore/connect-from-databricks.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ This article walks you through connecting Azure Cosmos DB for MongoDB vCore usin
3030

3131
You can follow instructions to [provision an Azure Databricks cluster](/azure/databricks/scenarios/quickstart-create-databricks-workspace-portal). We recommend selecting Databricks runtime version 7.6, which supports Spark 3.0.
3232

33-
:::image type="content" source="./media/migrate-databricks/databricks-cluster-creation.png" alt-text="Diagram of databricks new cluster creation.":::
33+
:::image type="content" source="../media/migrate-databricks/databricks-cluster-creation.png" alt-text="Diagram of databricks new cluster creation.":::
3434

3535

3636
## Add dependencies
3737

3838
Add the MongoDB Connector for Spark library to your cluster to connect to both native MongoDB and Azure Cosmos DB for MongoDB endpoints. In your cluster, select **Libraries** > **Install New** > **Maven**, and then add `org.mongodb.spark:mongo-spark-connector_2.12:3.0.1` Maven coordinates.
3939

40-
:::image type="content" source="./media/migrate-databricks/databricks-cluster-dependencies.png" alt-text="Diagram of adding databricks cluster dependencies.":::
40+
:::image type="content" source="../media/migrate-databricks/databricks-cluster-dependencies.png" alt-text="Diagram of adding databricks cluster dependencies.":::
4141

4242
Select **Install**, and then restart the cluster when installation is complete.
4343

@@ -98,7 +98,7 @@ Output:
9898
:::image type="content" source="./media/connect-from-databricks/print-schema.png" alt-text="Screenshot of the Print Schema.":::
9999

100100
**DataFrame**
101-
:::image type="content" source="./media/connect-from-databricks/display-dataframe.png" alt-text="Screenshot of the Display DataFrame.":::
101+
:::image type="content" source="./media/connect-from-databricks/display-df-vcore.png" alt-text="Screenshot of the Display DataFrame.":::
102102

103103
### Filter data from Azure Cosmos DB for MongoDB vCore
104104

@@ -115,7 +115,7 @@ display(df_v)
115115
```
116116

117117
Output:
118-
:::image type="content" source="./media/connect-from-databricks/display-filtered-data.png" alt-text="Screenshot of the Display Filtered DataFrame.":::
118+
:::image type="content" source="./media/connect-from-databricks/display-filter.png" alt-text="Screenshot of the Display Filtered DataFrame.":::
119119

120120
### Create a view or temporary table and run SQL queries against it
121121

@@ -133,7 +133,7 @@ display(df_v)
133133
```
134134

135135
Output:
136-
:::image type="content" source="./media/connect-from-databricks/display-sql-query.png" alt-text="Screenshot of the Display SQL Query.":::
136+
:::image type="content" source="./media/connect-from-databricks/display-sql.png" alt-text="Screenshot of the Display SQL Query.":::
137137

138138
### Write data to Azure Cosmos DB for MongoDB vCore
139139

@@ -164,7 +164,7 @@ display(df_vcore)
164164
```
165165

166166
Output:
167-
:::image type="content" source="./media/connect-from-databricks/display-aggregate-data.png" alt-text="Screenshot of the Display Aggregate Data.":::
167+
:::image type="content" source="./media/connect-from-databricks/display-agg.png" alt-text="Screenshot of the Display Aggregate Data.":::
168168

169169
## Next steps
170170

0 commit comments

Comments
 (0)