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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • impl
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: