XMLWordPrintableJSON

Details

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

    Description

      This is a followup for PIG-3534. In PIG-3534, we use 5 vertexes (3 DAGs) to implement an order-by. We can optimize to use 4 vertexes in 1 DAG:

      vertex 1: close the current vertex, create input + samples input
      vertex 2: aggregate samples to create quantiles
      vertex 3: use quantiles to partition input
      vertex 4: sort input after partition

      The DAG is:

      vertex 1   ------------------>  vertex 3 ------> vertex 4
                 \--> vertex 2 ---/
      

      Attachments

        1. PIG-3634-3.patch
          64 kB
          Cheolsoo Park
        2. PIG-3634-2.patch
          51 kB
          Daniel Dai
        3. PIG-3634-1.patch
          51 kB
          Daniel Dai
        4. PIG-3634-0.patch
          52 kB
          Daniel Dai

        Issue Links

          Activity

            People

              daijy Daniel Dai
              daijy Daniel Dai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: