Skip to content

Commit 46c1951

Browse files
authored
Update how-to-sqldb-to-cosmosdb.md
1 parent acf99b5 commit 46c1951

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/data-factory/how-to-sqldb-to-cosmosdb.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ The resulting CosmosDB container will embed the inner query into a single docume
6161

6262
![Create Struct](media/data-flow/cosmosb9.png)
6363

64+
9. Now, let's go to the sales header source. Add a Join transformation. For the right-side select "MakeStruct". Leave it set to inner join and choose ```SalesOrderID``` for both sides of the join condition.
65+
66+
10. Click on the Data Preview tab in the new join that you added so that you can see your results up to this point. You should see all of the header rows joined with the detail rows. This is the result of the join being formed from the ```SalesOrderID```. Next, we'll combine the details from the common rows into the details struct and aggregate the common rows.
67+
68+
11.
69+
70+
![Join](media/data-flow/cosmosb4.png)
71+
6472
## Next steps
6573

6674
* Build the rest of your data flow logic by using mapping data flows [transformations](concepts-data-flow-overview.md).

0 commit comments

Comments
 (0)