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

Method ScalarExprIsWithinStruct

be/src/runtime/fragment-state.cc:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246bool FragmentState::ScalarExprIsWithinStruct(const ScalarExpr* expr) const {
247 if (!expr->IsSlotRef()) return false;
248 const SlotRef* slot_ref_expr = static_cast<const SlotRef*>(expr);
249 const SlotDescriptor* slot_desc = desc_tbl().GetSlotDescriptor(
250 slot_ref_expr->slot_id());
251 return slot_desc->parent()->isTupleOfStructSlot();
252}
253
254}

Callers

nothing calls this directly

Calls 4

isTupleOfStructSlotMethod · 0.80
IsSlotRefMethod · 0.45
GetSlotDescriptorMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected