[Solved-1 Solution] Filtering null values with pig ?
Problem :
How to filtering null values with pig ?
Solution 1:
- If all of the fields are of numeric types, we can use the below one
- In Pig, if any terms in an arithmetic expression are null, the result is null.
- It can also write a UDF to take an arbitrary number of arguments and return null..
- where NUMBER_OF_NULLS is defined elsewhere, e.g.