I have a Main pipeline in Synapse workspace which has 2 activities:
1st - Notebook activity
2nd - If Condition activity
For the 1st one (Synapse notebook, spark pool, pyspark), I have a SQL cell like the following:
It has a simple query using a join:
%%sql
SELECT A.name FROM A
LEFT JOIN B ON A.id = B.id
This will return some rows to me (< 50 rows)
Now I want to access this result set of less than 50 rows in the "If Condition" activity in Synapse Pipeline,
How do I perform this?
According to docs, I should be able to use the following:
@activity(‘Notebook1’).output.status.Output.result.exitValue
But the exitValue that I'm getting in the synapse notebook output is null. How do I access this result set in "If Condition" then?