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

support to variable number of arguments in UDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.13.0
    • None
    • None
    • Fixed as part of PIG-3444.

    Description

      In the current implementation, functionality that allows to map arguments to classes does not support functions with variable number of arguments. Also it does not support funtions that can have variable (but fixed in number) number of arguments.

      This causes problems for string UDFs such as CONCAT that can take an arbitrary number of arguments or TRIM that can take 1,2, or 3 arguments

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              olgan Olga Natkovich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: