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

Method ParseString

be/src/exprs/expr-test.cc:1416–1420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1414
1415template<class T>
1416bool ExprTest::ParseString(const string& str, T* val) {
1417 istringstream stream(str);
1418 stream >> *val;
1419 return !stream.fail();
1420}
1421
1422template<>
1423bool ExprTest::ParseString(const string& str, TimestampValue* val) {

Callers 5

StartMethod · 0.45
IsTrustedDomainFunction · 0.45
IsResolvedAddressFunction · 0.45
GetUDSAddressFunction · 0.45

Calls 4

set_dateMethod · 0.80
set_timeMethod · 0.80
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected