what is the correct pig language for this pig-sql pseudocode? data = foreach data generate case when column1 is null then -1 else column2 end as new_column;
data = foreach data generate case when column1 is null then -1 else column2 end as new_column;