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

find Max Tuple by 1st field UDF (for piggybank)

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.2.0
    • Component/s: impl
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      This is simple UDF which takes bag of tuples and returns one with max. 1st column.
      It is fairly trivial but I have seen people asking for it. Detailed usage comments are in Javadoc.

        Attachments

        1. MaxTupleBy1stField.java
          5 kB
          Vadim Zaliva

          Activity

            People

            • Assignee:
              vzaliva Vadim Zaliva
              Reporter:
              vzaliva Vadim Zaliva
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: