Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 20th, 2012  |  syntax: None  |  size: 0.19 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Join USING 'merge' in PIG
  2. grunt> A = join A by $1, B by $1 using 'merge';
  3.        
  4. grunt> A = join A by $1 FULL, B by $1 using 'merge';
  5.        
  6. grunt> U = UNION A, B;
  7. grunt> OrderedU = ORDER U BY $1