Apache Pig CROSS Operator
The Apache Pig CROSS operator facilitates to compute the cross product of two or more relations. Using CROSS operator is an expensive operation and should be used sparingly.
Example of CROSS Operator
In this example, we compute the data of two relations.
Steps to execute CROSS Operator
Here, we got the desired output.