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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Backend
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: