489087974 by Unknown

489087974 by Unknown

Author:Unknown
Language: eng
Format: epub


What is the inner bag in Pig?

Ans. Any relation within a bag is known as the inner bag, where any normal relation is called an outer bag.

What is the use of multiline commands?

Ans. It is used for carrying the data and storing the same in a file.

What are the limitations with respect to Apache PIG?

Ans. Here are some of them:

It’s not the best for analysis of a single record on heavy data set

Not the best for synchronized or real-time scenarios

More process-oriented

What method can be used to override for Java UDF?

Ans. The Execute method is overridden, and it takes Tuple as input.

What is the use of PIG storage?

Ans. It allows us to load data from a delimited text file, where each field is separated by the delimiter.

Does PIG reside on the Hadoop cluster?

Ans. PIG doesn’t reside on the Hadoop cluster but on the client machine. The jobs are submitted by PIG and executed by the Hadoop cluster.

Can you write sample UDF to convert lower case?

Ans. Refer to the following code:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.