Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: tez-branch
    • Fix Version/s: tez-branch
    • Component/s: tez
    • Labels:
      None

      Description

      Implement TezCompiler that compiles physical plan into tez plan. To begin with, we can implement the initial version that works for basic queries as follows:

      1. Load-Filter-Store
        a = load 'file:///tmp/input' as (x:int, y:int);
        b = filter a by x > 0;
        c = foreach b generate y;
        store c into 'file:///tmp/output';
        
      2. Load-Filter-GroupBy-Store
        a = load 'file:///tmp/input' as (x:int, y:int);
        b = group a by x;
        c = foreach b generate group, a;
        store c into 'file:///tmp/output';
        
      3. Load1-Load2-Join-Store
        a = load 'file:///tmp/input1' as (x:int, y:int);
        b = load 'file:///tmp/input2' as (x:int, z:int);
        c = join a by x, b by x;
        d = foreach c generate a::x as x, y, z;
        store d into 'file:///tmp/output';
        

        Attachments

        1. PIG-3500-2.patch
          70 kB
          Cheolsoo Park
        2. PIG-3500-1.patch
          71 kB
          Cheolsoo Park

          Issue Links

            Activity

              People

              • Assignee:
                cheolsoo Cheolsoo Park
                Reporter:
                cheolsoo Cheolsoo Park
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: