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.
| 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 |