MCPcopy Create free account
hub / github.com/bytedance/bolt / TEST_F

Function TEST_F

bolt/exec/tests/AggregateFunctionRegistryTest.cpp:163–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161};
162
163TEST_F(FunctionRegistryTest, hasAggregateFunctionSignature) {
164 testResolveAggregateFunction(
165 "aggregate_func", {BIGINT(), DOUBLE()}, BIGINT(), ARRAY(BIGINT()));
166 testResolveAggregateFunction(
167 "aggregate_func", {DOUBLE(), DOUBLE()}, DOUBLE(), ARRAY(DOUBLE()));
168 testResolveAggregateFunction(
169 "aggregate_func",
170 {ARRAY(BOOLEAN()), ARRAY(BOOLEAN())},
171 ARRAY(BOOLEAN()),
172 ARRAY(ARRAY(BOOLEAN())));
173 testResolveAggregateFunction("aggregate_func", {}, DATE(), DATE());
174}
175
176TEST_F(FunctionRegistryTest, hasAggregateFunctionSignatureWrongFunctionName) {
177 testResolveAggregateFunction(

Callers

nothing calls this directly

Calls 14

ARRAYFunction · 0.85
registerAggregateFuncFunction · 0.85
isPartialOutputFunction · 0.85
signaturesFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
toStringMethod · 0.45
sizeMethod · 0.45
valueMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected