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

Splitting output data on key field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Hadoop Flags:
      Reviewed

      Description

      Pig users often face the need to split the output records into a bunch of files and directories depending on the type of record. Pig's SPLIT operator is useful when record types are few and known in advance. In cases where type is not directly known but is derived dynamically from values of a key field in the output tuple, a custom store function is a better solution.

        Attachments

        1. 958.v3.patch
          18 kB
          Ankur
        2. 958.v4.patch
          18 kB
          Ankur

          Activity

            People

            • Assignee:
              ankur Ankur
              Reporter:
              ankur Ankur
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: