Answer Posted / Smriti Chauhan
Apache Pig is used with Hadoop because it provides a platform for analyzing large data sets that can be processed in parallel across many machines. Pig's SQL-like language, Pig Latin, allows users to write complex data analysis scripts easily and efficiently.nnExample usage:n`data = LOAD '<input_file>'; filtered_data = FILTER data BY col1 > 10; GROUP filtered_data BY col2; COUNT filtered_data;`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers