8
संबंधसुअर सशर्त ऑपरेटर्स
test = LOAD 'input' USING PigStorage(',') as (a:chararray, b:chararray);
नीचे पर विचार वहाँ प्राप्त निम्नलिखित
if (b == 1) {
a = 'abc';
else if (b == 2) {
a = 'xyz';
else
// retain whatever is there in the column 'a'