MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / sanityCheckCandidates

Function sanityCheckCandidates

src/optimizer/acc_hash_join_optimizer.cpp:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98bool sanityCheckCandidates(const std::vector<LogicalOperator*>& ops,
99 SemiMaskTargetType targetType) {
100 DASSERT(!ops.empty());
101 if (!haveSameType(ops)) {
102 return false;
103 }
104 if (!haveSameTableIDs(ops, targetType)) {
105 return false;
106 }
107 return true;
108}
109
110static std::shared_ptr<LogicalSemiMasker> appendSemiMasker(SemiMaskKeyType keyType,
111 SemiMaskTargetType targetType, std::shared_ptr<Expression> key,

Callers 1

tryApplySemiMaskFunction · 0.85

Calls 3

haveSameTypeFunction · 0.85
haveSameTableIDsFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected