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

CLONE - Default split destination

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • 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

        Activity

          People

            azaroth Gianmarco De Francisci Morales
            hdbarot Hardik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: