I could not find any documentation (in piglatin manual) on what the definition of equality of bags is (or what it should be), does the order of tuples in the bag matter ? But the definition of a bag does not imply any ordering.
This has implication on the definition of join/cogroup/group on bags. Thanks, Thejas