TimestampToInexactDTimestamp converts the logical timestamp into an inexact DTimestamp by dropping the logical counter and using the wall time at the microsecond precision.
(ts hlc.Timestamp)
| 3012 | // inexact DTimestamp by dropping the logical counter and using the wall |
| 3013 | // time at the microsecond precision. |
| 3014 | func TimestampToInexactDTimestamp(ts hlc.Timestamp) *DTimestamp { |
| 3015 | return MakeDTimestamp(timeutil.Unix(0, ts.WallTime), time.Microsecond) |
| 3016 | } |
| 3017 | |
| 3018 | // GetRelativeParseTime implements ParseTimeContext. |
| 3019 | func (ctx *EvalContext) GetRelativeParseTime() time.Time { |
nothing calls this directly
no test coverage detected
searching dependent graphs…