While implementing solution provided at How to optimize a group by statement in PIG latin? I found that all the rows with one null column is dropped, which is expected behavior in Pig. I was wondering if the below code would work?
A = B join by ( Bcol1 is null?'UNK',Bcol2 is null?'UNK',Bcol2 is null?999),
C join by ( Ccol1 is null?'UNK',Ccol2 is null?'UNK',Ccol2 is null?999)
I am getting some parsing error.