1.

__________method tells LoadFunc which fields are required in the Pig script.(a) pushProjection()(b) relativeToAbsolutePath()(c) prepareToRead()(d) none of the mentionedThe question was asked in an international level competition.This interesting question is from User-defined Functions in Pig topic in division Pig of Hadoop

Answer» RIGHT choice is (a) pushProjection()

To explain: Pig will USE the column index requiredField.index to COMMUNICATE with the LoadFunc about the fields REQUIRED by the Pig SCRIPT.


Discussion

No Comment Found

Related InterviewSolutions