hello, i am new to pig and have a question regarding the syntax arrangement for nested evaluations using bincond.
both of these seem to work and produce identical results. is one syntax "more" correct? C = foreach B generate id, name, role, ((location == 'P02' ? 'IL': ( (location == 'P06' ? 'FL': ( (location == 'P09' ? 'WI': ( (location == 'P11' ? 'CA': id)))))))) as location; C = foreach B generate id, name, role, ((location == 'P02') ? 'IL': ( (location == 'P06') ? 'FL': ( (location == 'P09') ? 'WI': ( (location == 'P11') ? 'CA': id)))) as location; thx mark