1.

Which of the following is correct syntax for parameter substitution using cmd?(a) pig {-param param_name = param_value | -param_file file_name} [-debug | -dryrun] script(b) {%declare | %default} param_name param_value(c) {%declare | %default} param_name param_value cmd(d) All of the mentionedThe question was posed to me in an online quiz.The above asked question is from Data Processing Operators in Pig topic in division Pig of Hadoop

Answer»

Right option is (a) pig {-param param_name = param_value | -param_file file_name} [-DEBUG | -dryrun] script

The explanation is: Parameter SUBSTITUTION is used to substitute VALUES for parameters at RUN time.



Discussion

No Comment Found

Related InterviewSolutions