MCPcopy Create free account
hub / github.com/apache/arrow / TEST_F

Function TEST_F

cpp/src/arrow/compute/kernels/vector_hash_test.cc:307–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307TEST_F(TestHashKernel, UniqueTimeTimestamp) {
308 CheckUnique<Time32Type, int32_t>(time32(TimeUnit::SECOND), {2, 1, 2, 1},
309 {true, false, true, true}, {2, 0, 1}, {1, 0, 1});
310
311 CheckUnique<Time64Type, int64_t>(time64(TimeUnit::NANO), {2, 1, 2, 1},
312 {true, false, true, true}, {2, 0, 1}, {1, 0, 1});
313
314 CheckUnique<TimestampType, int64_t>(timestamp(TimeUnit::NANO), {2, 1, 2, 1},
315 {true, false, true, true}, {2, 0, 1}, {1, 0, 1});
316 CheckUnique<DurationType, int64_t>(duration(TimeUnit::NANO), {2, 1, 2, 1},
317 {true, false, true, true}, {2, 0, 1}, {1, 0, 1});
318}
319
320TEST_F(TestHashKernel, ValueCountsTimeTimestamp) {
321 CheckValueCounts<Time32Type, int32_t>(time32(TimeUnit::SECOND), {2, 1, 2, 1},

Callers

nothing calls this directly

Calls 15

CheckUniqueFunction · 0.85
ArrayFromJSONFunction · 0.85
CheckValueCountsFunction · 0.85
CheckDictEncodeFunction · 0.85
fixed_size_binaryFunction · 0.85
month_intervalFunction · 0.85
day_time_intervalFunction · 0.85
month_day_nano_intervalFunction · 0.85
DictArrayFromJSONFunction · 0.85
AssertChunkedEqualFunction · 0.85
ValidateOutputFunction · 0.85
AssertArraysEqualFunction · 0.85

Tested by

no test coverage detected