MCPcopy Create free account
hub / github.com/apache/impala / ShouldCodegen

Method ShouldCodegen

be/src/runtime/fragment-state.h:162–164  ·  view source on GitHub ↗

Returns true if codegen should be enabled for this fragment. Codegen is enabled if all the following conditions hold: 1. it's enabled by query option 2. it's not disabled by internal hints or there are expressions in the fragment which cannot be interpreted.

Source from the content-addressed store, hash-verified

160 /// 2. it's not disabled by internal hints or there are expressions in the fragment
161 /// which cannot be interpreted.
162 inline bool ShouldCodegen() const {
163 return !CodegenDisabledByQueryOption() && !CodegenDisabledByHint();
164 }
165
166 /// Whether all expressions are interpretable or codegen is necessary because an
167 /// expression cannot be interpreted.

Callers 1

OpenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected