MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / writeAggResultWithNullToVector

Function writeAggResultWithNullToVector

src/processor/map/map_aggregate.cpp:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void writeAggResultWithNullToVector(ValueVector& vector, uint64_t pos,
92 AggregateState* aggregateState) {
93 auto isNull = aggregateState->constCast<AggregateStateWithNull>().isNull;
94 vector.setNull(pos, isNull);
95 if (!isNull) {
96 aggregateState->writeToVector(&vector, pos);
97 }
98}
99
100static void writeAggResultWithoutNullToVector(ValueVector& vector, uint64_t pos,
101 AggregateState* aggregateState) {

Callers

nothing calls this directly

Calls 2

setNullMethod · 0.45
writeToVectorMethod · 0.45

Tested by

no test coverage detected