Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently in FOREACH clause, if both LIMIT and ORDER BY are present, pig stores all elements and sort them. It should use a priority queue to be more efficient in space.