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

Function CurrentTimeString

be/src/util/time.h:127–129  ·  view source on GitHub ↗

Convenience function to convert the current time, derived from UnixMicros(), to a date-time string in the local time zone, padded to nanosecond precision.

Source from the content-addressed store, hash-verified

125/// Convenience function to convert the current time, derived from UnixMicros(),
126/// to a date-time string in the local time zone, padded to nanosecond precision.
127inline std::string CurrentTimeString() {
128 return ToStringFromUnixMicros(UnixMicros(), TimePrecision::Nanosecond);
129}
130} // namespace impala
131#endif

Callers 3

RecoveryModeCheckerMethod · 0.85
InitCommonMetricsMethod · 0.85

Calls 1

UnixMicrosFunction · 0.85

Tested by 1

RecoveryModeCheckerMethod · 0.68