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

Initial implementation of TezCompiler

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tez-branch
    • tez-branch
    • tez
    • 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-1.patch
          71 kB
          Cheolsoo Park
        2. PIG-3500-2.patch
          70 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: