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

Evaluate constant arguments to ScalarFnCall once during initialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 2.8.0
    • None
    • Backend
    • None

    Description

      Constant input arguments to a ScalarFnCall expression is evaluated in ScalarFnCall::Open(). Ideally, this should be evaluated once during the ScalarFnCall::Prepare(). This allows constant arguments to be constant folded into the body of the UDF's function and prevents repeated evaluation of the input arguments for each fragment instance.

      Attachments

        Issue Links

          Activity

            People

              kwho Michael Ho
              kwho Michael Ho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: