Which of the following Pig Latin expressions is used to sum a set of numbers in a bag?

Which of the following Pig Latin expressions is used to sum a set of numbers in a bag?
A. X = FOR EACH C -> (group,SUM(A.a1))
B. X = FOR EACH C GEN [group, SUM (A.a1)];
C. X = FOREACH C GENERATE group, SUM (A.a1);
D. X = FOREACH C GENERATE FLATTEN SUM (A.a1);

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.