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

Function ValidateOutput

cpp/src/arrow/compute/test_util_internal.cc:101–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99} // namespace
100
101void ValidateOutput(const Datum& output) {
102 switch (output.kind()) {
103 case Datum::ARRAY:
104 ValidateOutputImpl(*output.array());
105 break;
106 case Datum::CHUNKED_ARRAY:
107 ValidateOutputImpl(*output.chunked_array());
108 break;
109 case Datum::RECORD_BATCH:
110 ValidateOutputImpl(*output.record_batch());
111 break;
112 case Datum::TABLE:
113 ValidateOutputImpl(*output.table());
114 break;
115 case Datum::SCALAR:
116 ValidateOutputImpl(*output.scalar());
117 break;
118 default:
119 break;
120 }
121}
122
123} // namespace arrow::compute

Callers 15

ValidateGroupByFunction · 0.85
TEST_PFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
CheckModesFunction · 0.85
CheckModes<bool>Function · 0.85
AssertModesEmptyMethod · 0.85
VerifyModeFunction · 0.85
AssertQuantilesAreMethod · 0.85
AssertQuantilesEmptyMethod · 0.85
VerifyTDigestMethod · 0.85
TESTFunction · 0.85

Calls 5

ValidateOutputImplFunction · 0.85
chunked_arrayMethod · 0.80
kindMethod · 0.45
arrayMethod · 0.45
scalarMethod · 0.45

Tested by

no test coverage detected