Search code examples
apache-pig

Using IN clause with PIG FILTER


Does PIG support IN clause?

filtered = FILTER bba BY reason not in ('a','b','c','d');

or should i split it up into multiple OR's?

Thanks!


Solution

  • I didn't find it in any of the samples in the documentation.

    You can get by using AND/OR/NOT