Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
    • Release Note:
      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

      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

            • Assignee:
              Gianmarco De Francisci Morales
              Reporter:
              Daniel Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development