Pig & Pig Latin

38 / 48
Pig - Sample Operator

Will line number 3 and 4 in the code below, give us the same output?

1. A = LOAD 'data.csv';
2. B = SAMPLE A 0.01;
3. DUMP B;
4. DUMP B;
  • True
  • False