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

Method GetTimestampValInterpreted

be/src/exprs/literal.cc:313–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313TimestampVal Literal::GetTimestampValInterpreted(
314 ScalarExprEvaluator* eval, const TupleRow* row) const {
315 DCHECK_EQ(type_.type, TYPE_TIMESTAMP) << type_;
316 TimestampVal result;
317 value_.timestamp_val.ToTimestampVal(&result);
318 return result;
319}
320
321DateVal Literal::GetDateValInterpreted(
322 ScalarExprEvaluator* eval, const TupleRow* row) const {

Callers

nothing calls this directly

Calls 1

ToTimestampValMethod · 0.80

Tested by

no test coverage detected