| 89 | } |
| 90 | |
| 91 | static 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 | |
| 100 | static void writeAggResultWithoutNullToVector(ValueVector& vector, uint64_t pos, |
| 101 | AggregateState* aggregateState) { |
nothing calls this directly
no test coverage detected