Apache Pig DISTINCT OperatorThe Apache Pig DISTINCT operator is used to remove duplicate tuples in a relation. Initially, Pig sorts the given data and then eliminates duplicates. Example of DISTINCT OperatorIn this example, we eliminate the duplicate tuples. Steps to execute DISTINCT Operator
![]()
![]()
![]()
![]() Here, we got the desired output.
Next TopicFILTER Operator
|