Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Impala 2.8.0
-
None
-
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
- is related to
-
IMPALA-4192 Pull all expressions in a fragment into QueryState
- Resolved