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

Method GenericStringTest

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

Source from the content-addressed store, hash-verified

268 // columns and a column corresponding to T.
269 template<typename T>
270 int GenericStringTest(const std::string& lval1, const std::string& lval2,
271 const std::string& rval1, const std::string& rval2, T dummyValue) {
272 TupleRow* lhs = CreateTupleRow(StringValue(lval1), StringValue(lval2), dummyValue);
273 TupleRow* rhs = CreateTupleRow(StringValue(rval1), StringValue(rval2), dummyValue);
274 int result = comperator_->Compare(lhs, rhs);
275 comperator_->Close(runtime_state_);
276 return result;
277 }
278
279 int StringString8ByteTest(const std::string& lval1, const std::string& lval2,
280 const std::string& rval1, const std::string& rval2) {

Callers

nothing calls this directly

Calls 3

StringValueClass · 0.50
CompareMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected