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

Method CompareTest

be/src/util/tuple-row-compare-test.cc:134–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133 template <typename T, bool IS_FIRST_SLOT_NULL = false>
134 int CompareTest(T lval1, T lval2, T rval1, T rval2) {
135 TupleRow* lhs = CreateTupleRow<IS_FIRST_SLOT_NULL>(lval1, lval2);
136 TupleRow* rhs = CreateTupleRow(rval1, rval2);
137 int result = comperator_->Compare(lhs, rhs);
138 comperator_->Close(runtime_state_);
139 return result;
140 }
141
142 // With this function, nullable entries can also be tested, by setting the
143 // template parameter to true. This means that the first slot of the

Callers

nothing calls this directly

Calls 2

CompareMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected