Vote count:
0
I have something like
a = LOAD 'input-1';
b = LOAD 'input-2';
c = UNION a,b;
where input-1 is a directory and may be sometimes empty. Whenever it is empty, the UNION throws some exception as a is NULL. UNION is just one operation here, it could be any other operation like JOIN a BY $0, b BY $0, etc.
Is it possible to check the nullness of "a" in Pig, before using it any sub sequent operation ?
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire