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

Method CodegenHasDisableHint

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

Returns true if there is a hint to disable codegen. This can be true for single node optimization or expression evaluation request from FE to BE (see fe-support.cc). Note that this internal flag is advisory and it may be ignored if the fragment has any UDF which cannot be interpreted. See ScalarExpr::Prepare() for details.

Source from the content-addressed store, hash-verified

139 /// Note that this internal flag is advisory and it may be ignored if the fragment has
140 /// any UDF which cannot be interpreted. See ScalarExpr::Prepare() for details.
141 inline bool CodegenHasDisableHint() const {
142 return query_state_->query_ctx().disable_codegen_hint;
143 }
144
145 /// Returns true iff there is a hint to disable codegen and all expressions in the
146 /// fragment can be interpreted. This should only be used after the Prepare() phase

Callers 1

ShouldCodegenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected