Conditional split is really just a case / switch / if-then-else construct whereas Assert is for data quality rules, with the built-in capability to set expectations, set quality rules, and set rows as error rows.
In Data Factory, what is the difference between Conditional Split and Assert? When to use what?
Hi,
In Data Factory, what is the difference between Conditional Split and Assert? When to use what? If you can provide some use cases for that decision making.
3 answers
Sort by: Most helpful
-
-
ShaktiSingh-MSFT 11,136 Reputation points Microsoft Employee
2022-10-21T07:41:19.51+00:00 Hi @Partha Das ,
Thanks for posting this question in Microsoft Q&A platform.
In addition to @MarkKromer-MSFT 's reply, you may refer to the official Microsoft documentation page for Conditional Split and Assert transformations as well as the videos demonstrating the same as below:
Conditional Split in Data Flow
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- Please don't forget to click on
-
ShaikMaheer-MSFT 35,796 Reputation points Microsoft Employee
2022-10-26T10:23:17.643+00:00 Hi @Partha Das ,
Conditional split transformation can be used when you want to split incoming rows as separate streams based on conditions and process them accordingly. Whereas Assert Transformation can be used when you want to perform data validation on the incoming rows.
Let's assume you have employee data coming in with different department Ids and want to split those rows based on departments and process each department related rows separately and load them into different tables. In this case you can use conditional split transformation. Please check below video where with an example I explained about conditional split transformation.
Conditional Split Transformation in Mapping Data Flow in Azure data factoryLet's assume if you want to validate incoming rows and check for data quality you can consider using assert transformation. In below video, I explain usage of assert transformation with some examples for better understanding. Kindly check same.
Assert Transformation in Mapping Data Flows in Azure Data FactoryHope this helps. Please let me know if any further queries.
----------------
Please consider hitting
Accept Answer
andUp-Vote
. Accepted answers help community as well.