Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1904

Default split destination

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • This feature introduces a new keyword - OTHERWISE, and that is not backward compatible - it can break scripts that use it as an alias.

    Description

      "split" statement is better to have a default destination, eg:

      SPLIT A INTO X IF f1<7, Y IF f2==5, Z IF (f3<6 OR f3>6), OTHER otherwise; -- OTHERS has all tuples with f1>=7 && f2!=5 && f3==6
      

      This is a candidate project for Google summer of code 2011. More information about the program can be found at http://wiki.apache.org/pig/GSoc2011

      Attachments

        1. PIG-1904.2.patch
          11 kB
          Gianmarco De Francisci Morales
        2. PIG-1904.1.patch
          7 kB
          Gianmarco De Francisci Morales

        Issue Links

          Activity

            People

              azaroth Gianmarco De Francisci Morales
              daijy Daniel Dai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: