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

Function ValidateSum

cpp/src/arrow/compute/kernels/aggregate_test.cc:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void ValidateSum(
111 const Datum input, Datum expected,
112 const ScalarAggregateOptions& options = ScalarAggregateOptions::Defaults()) {
113 ASSERT_OK_AND_ASSIGN(Datum result, Sum(input, options));
114 AssertDatumsApproxEqual(expected, result, /*verbose=*/true);
115}
116
117template <typename ArrowType>
118void ValidateSum(

Callers

nothing calls this directly

Calls 5

AssertDatumsApproxEqualFunction · 0.85
ArrayFromJSONFunction · 0.85
ChunkedArrayFromJSONFunction · 0.85
type_singletonFunction · 0.70
DefaultsFunction · 0.50

Tested by

no test coverage detected