a) LoadPushDown b) LoadMetadata c) LoadCaster d) All of the mentioned Answer: c Explanation: LoadCaster has methods ...
View Question__________ method tells LoadFunc which fields are required in the Pig script.
a) pushProjection() b) relativeToAbsolutePath() c) prepareToRead() d) none of the mentioned Answer: a Explanation: Pig will use ...
View Question____________ method enables the RecordReader associated with the InputFormat provided by the LoadFunc is passed to the LoadFunc.
a) getNext() b) relativeToAbsolutePath() c) prepareToRead() d) all of the mentioned Answer: c Explanation: The RecordReader can ...
View QuestionThe loader should use ______ method to communicate the load information to the underlying InputFormat.
a) relativeToAbsolutePath() b) setUdfContextSignature() c) getCacheFiles() d) setLocation() Answer: d Explanation: setLocation() method is called by Pig ...
View Question___________ return a list of hdfs files to ship to distributed cache.
a) relativeToAbsolutePath() b) setUdfContextSignature() c) getCacheFiles() d) getShipFiles() Answer: d Explanation: The default implementation provided in LoadFunc ...
View QuestionPoint out the wrong statement.
a) The load/store UDFs control how data goes into Pig and comes out of Pig. b) LoadCaster has ...
View Question____________ method will be called by Pig both in the front end and back end to pass a unique signature to the Loader.
a) relativeToAbsolutePath() b) setUdfContextSignature() c) getCacheFiles() d) getShipFiles() Answer: b Explanation: The signature can be used to ...
View QuestionWhich of the following has methods to deal with metadata?
a) LoadPushDown b) LoadMetadata c) LoadCaster d) All of the mentioned Answer: b Explanation: Most implementation of ...
View QuestionPoint out the correct statement.
a) LoadMeta has methods to convert byte arrays to specific types b) The Pig load/store API is aligned ...
View Question__________ abstract class has three main methods for loading data and for most use cases it would suffice to extend it.
a) Load b) LoadFunc c) FuncLoad d) None of the mentioned Answer: b Explanation: LoadFunc and ...
View Question