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

Function FloorToMicros

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

Source from the content-addressed store, hash-verified

318}
319
320int64_t FloorToMicros(const TimestampValue& ts) {
321 EXPECT_TRUE(ts.HasDateAndTime());
322 int64_t result = 0;
323 EXPECT_TRUE(ts.FloorUtcToUnixTimeMicros(&result));
324 return result;
325}
326
327int64_t FloorToMillis(const TimestampValue& ts) {
328 EXPECT_TRUE(ts.HasDateAndTime());

Callers 1

TESTFunction · 0.85

Calls 2

HasDateAndTimeMethod · 0.80

Tested by

no test coverage detected