Debarati chatterjee

3) How Physical translator works at the time of compilation of pig query
After the logical plan is generated, the script execution moves to the physical plan where there is a description about the physical operators, Apache Pig will use, to execute the Pig script. A physical plan is more or less like a series of Map Reduce jobs but then the plan does not have any reference on how it will be executed in Map Reduce. During the creation of physical plan, co group logical operator is converted into 3 physical operators namely –Local Rearrange, Global Rearrange and Package. Load and store functions usually get resolved in the physical plan