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

Method GetStringValInterpreted

be/src/exprs/literal.cc:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288StringVal Literal::GetStringValInterpreted(
289 ScalarExprEvaluator* eval, const TupleRow* row) const {
290 DCHECK(type_.IsStringType()) << type_;
291 StringVal result;
292 value_.string_val.ToStringVal(&result);
293 return result;
294}
295
296DecimalVal Literal::GetDecimalValInterpreted(
297 ScalarExprEvaluator* eval, const TupleRow* row) const {

Callers

nothing calls this directly

Calls 2

IsStringTypeMethod · 0.80
ToStringValMethod · 0.45

Tested by

no test coverage detected