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

Splitting output data on key field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.6.0
    • None
    • None
    • Patch Available
    • 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.v4.patch
          18 kB
          Ankur Bansal
        2. 958.v3.patch
          18 kB
          Ankur Bansal

        Activity

          People

            ankur Ankur Bansal
            ankur Ankur Bansal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: