Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-785

Add "Piglet", a subset of Pig Latin on top of Calcite algebra

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Implement a subset of Pig Latin on top of Calcite, mapping it onto Calcite algebra (via RelBuilder) that can then be optimized and executed on any back-end.

      This serves several purposes:

      • Illustrate how to implement a data language on Calcite
      • Clear technical roadblocks so that the real Pig can be implemented on Calcite
      • Strengthen Calcite's support for nested collections and related operations such as cogroup

        Issue Links

          Activity

          Hide
          jcamachorodriguez Jesus Camacho Rodriguez added a comment -

          Resolved in release 1.5.0 (2015-11-10)

          Show
          jcamachorodriguez Jesus Camacho Rodriguez added a comment - Resolved in release 1.5.0 (2015-11-10)
          Show
          julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/5cee2a1a .
          Hide
          julianhyde Julian Hyde added a comment -

          DRILL-82 proposed such a feature but never got past a work-in-progress patch. Seems to be translating a Pig logical plan to a Drill logical plan, and it seems to have copy-pasted Pig's parser.

          Show
          julianhyde Julian Hyde added a comment - DRILL-82 proposed such a feature but never got past a work-in-progress patch. Seems to be translating a Pig logical plan to a Drill logical plan, and it seems to have copy-pasted Pig's parser.
          Hide
          tdunning Ted Dunning added a comment -

          Didn't somebody already do pretty much this in the Drill project?

          Or was it that they just tweaked the Pig parser to generate a Drill plan?

          Show
          tdunning Ted Dunning added a comment - Didn't somebody already do pretty much this in the Drill project? Or was it that they just tweaked the Pig parser to generate a Drill plan?

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development