How to accomplish a left join containing AND and OR conditions with ADF Mapping Data Flows

Marc van der Wielen 46 Reputation points
2022-07-07T08:33:41.177+00:00

I need to join two tables based on a condition containing AND and OR logic.
Mapping data flows left join type only accepts AND conditions, according to the documentation I should use the join type Custom (cross) join, when I select this join type I am able to enter the condition with AND and OR logic but the result of this join only contains the records from both tables which match the condition. I need to keep the records from the first table as well like a normal LEFT JOIN would.

Please advice on how to accomplish this.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,369 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,542 questions
{count} votes