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

Function RoundToMicros

be/src/runtime/timestamp-test.cc:313–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313int64_t RoundToMicros(const TimestampValue& ts) {
314 EXPECT_TRUE(ts.HasDateAndTime());
315 int64_t result = 0;
316 EXPECT_TRUE(ts.UtcToUnixTimeMicros(&result));
317 return result;
318}
319
320int64_t FloorToMicros(const TimestampValue& ts) {
321 EXPECT_TRUE(ts.HasDateAndTime());

Callers 1

TESTFunction · 0.85

Calls 2

HasDateAndTimeMethod · 0.80
UtcToUnixTimeMicrosMethod · 0.80

Tested by

no test coverage detected