Hi Aravind ,
Welcome to Microsoft Q&A platform and thanks for posting your query here.
As I understand you want to implement data transformation using dataflow in adf pipeline with reference to the sql query you have provided. In addition to the query, it would be helpful if you could share the sample input and expected output data.
There are different components in this query:
-
ROW_NUMBER()
function can be applied using a window transformation to partition the data byId
and order it byId
. - To apply join you can use Join transformation and select inner join that would only outputs rows that have matching values in both tables.
- In place of
where
clause, opt Filter tranformation . The filter transformation is similar to a WHERE clause in SQL. It allows row filtering based upon a condition. The output stream includes all rows that match the filtering condition.
You can checkout different real time scenarios of dataflow implementation in the below playlists:
In case you need assistance with the implementation, kindly share the sample input and expected sample output data.
Hope it helps . Kindly accept the answer if it helped. Thankyou