Sink Data only if rows exists in the incoming stream (Data Flow)

Srinivas54 20 Reputation points
2024-02-28T17:15:53.0133333+00:00

In Data flow, I am trying to sink data otherwise skip it. I have tried to use surrogate Keys to the rows and used conditional split transformation to check if the rowNumber is equals to 1 ( I actually expect only one row after there data flow transformations). when there are no rows I cannot apply conitions as the expressions (rowNumber == 1 or rowNumber >0 ) end in below exception

User's image

Pipeline
User's image

I do not want to update the sink(JSON dataset) with an empty array. Is there any alternative to achieve it.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,564 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.