1. Pig
  2. PIG-1577

support to variable number of arguments in UDF


    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
    • Release Note:
      Fixed as part of PIG-3444.


      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

        Issue Links