Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4879

FunctionContext::GetArgType() returns wrong type in UDA Merge() and Finalize()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 2.9.0
    • Backend
    • None

    Description

      This ArgType() methods should return the input types of the UDA. UDAs can get the intermediate type from GetIntermediateType() so it is redundant to pass in the intermediate type via GetArgType().

      Note that the argument types provided to Merge() are not always consistent - if Merge() is run in a spilling preaggregation, the original argument types would be provided, but if it is run in the merge aggregation, different argument types are passed in.

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: