Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3446 Umbrella jira for Pig on Tez
  3. PIG-3557

Implement optimizations for LIMIT

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tez-branch
    • tez-branch
    • tez
    • None

    Description

      Implement optimizations for LIMIT when other parts of Pig-on-Tez are more mature. Some of the optimizations mentioned by Daniel include:

      1. If the previous stage using 1 reduce, no need to add one more vertex
      2. If the limitplan is null (ie, not the "limited order by" case), we might not need a shuffle edge, a pass through edge should be enough if possible
      3. Similar to PIG-1270, we can push limit to InputHandler
      4. We also need to think through the "limited order by" case once "order by" is implemented

      Attachments

        1. PIG-3557.patch
          5 kB
          Alex Bain

        Activity

          People

            abain Alex Bain
            abain Alex Bain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: