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

Method UtcTimestamp

be/src/exprs/timestamp-functions-ir.cc:327–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327TimestampVal TimestampFunctions::UtcTimestamp(FunctionContext* context) {
328 const TimestampValue* utc_timestamp = context->impl()->state()->utc_timestamp();
329 TimestampVal return_val;
330 utc_timestamp->ToTimestampVal(&return_val);
331 return return_val;
332}
333
334// Writes 'num' as ASCII into 'dst'. If necessary, adds leading zeros to make the ASCII
335// representation exactly 'len' characters. Both 'num' and 'len' must be >= 0.

Callers

nothing calls this directly

Calls 4

utc_timestampMethod · 0.80
implMethod · 0.80
ToTimestampValMethod · 0.80
stateMethod · 0.45

Tested by

no test coverage detected