0

I have been stuck for a bit trying to sort this out and for some reason it is not working.

I am reading a parquet file on a Pipeline in Synapse, after that I am selecting the columns I want to keep and before doing the sink, I want to add a filter (WHERE clause in SQL) to only keep specific rows.Here is the set up

Set up

Currently if I do a Data preview of the SelectColumns output I get data just fine.

data

And here is the definition of my filter

filter definition

But if I check the Data Preview for the filter task, it says no doutput data.

Can someone help me finding out whats going on please? I even tried a simpler filter SCTSTCO=='ABCD' just for testing and the same.

Am I just being too dumb?

Thanks a lot for the help

0

1 Answer 1

0

The above expression is working fine for me.

enter image description here

The expression CTSOCO=='ABCD' || CTSOCO=='ACRF' also working fine in the filter transformation.

If your data preview is resulting no rows, you might need to refresh the dataflow debug here.

enter image description here

Sign up to request clarification or add additional context in comments.

10 Comments

I don't think so. whatever might be file type, as per the input data preview, it should give required output.
Hi @Rakesh, thanks a lot for your explanation. That is exactly what I did, both with the IN function or just testing with ==. Pretty much the design you have there is exactly the same one that I have (please check the images I attached, for some reason you need to click on them, they are not showing directly) Could it not be working for me due to some type of configuration error? Many thanks
I have also reset the Data flow debug by turnting it off yesterday and just turned it back on and still no data coming out. I even tried the conditional split way to get rows you can do and still nothing. I am really at a loss here :S
I think by looking at your issue, its better to raise a support ticket because these kind of issues are not related to your input data or output data. This seems to an internal issue.
Thanks Rakesh, do they actually reply to tickets like this? I am afraid to raise a ticket and them telling me I am just being dumb in my dessing and that I am missing something.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.