MCPcopy Create free account
hub / github.com/apache/datafusion / test_u8

Function test_u8

datafusion/functions-aggregate/src/hyperloglog.rs:330–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328
329 #[test]
330 fn test_u8() {
331 let mut hll = HyperLogLog::<[u8]>::new();
332 for i in 0..1000 {
333 let s = i.to_string();
334 let b = s.as_bytes();
335 hll.add(b);
336 }
337 compare_with_delta(hll.count(), 1000);
338 }
339
340 #[test]
341 fn test_string() {

Callers

nothing calls this directly

Calls 5

newFunction · 0.85
compare_with_deltaFunction · 0.85
to_stringMethod · 0.45
addMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…