Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5211

Optimize Nested Limited Sort

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17.0
    • 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.

      Attachments

        1. pig-5211-testfix-postcommit.patch
          0.6 kB
          Koji Noguchi
        2. PIG-5211-5.patch
          38 kB
          Jin Sun
        3. PIG-5211-4.patch
          35 kB
          Jin Sun
        4. PIG-5211-3.patch
          34 kB
          Jin Sun
        5. PIG-5211-2.patch
          23 kB
          Jin Sun
        6. PIG-5211-1.patch
          13 kB
          Jin Sun

        Issue Links

          Activity

            People

              jins Jin Sun
              jins Jin Sun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: