159869 {
159870 InitializeGroupbyGroups(std::move(
groups));
159871 vector<LogicalType> payload_types_filters;
159872
159874
159875 filter_count = 0;
159876 for (auto &expr : expressions) {
159877 D_ASSERT(expr->GetExpressionClass() == ExpressionClass::BOUND_AGGREGATE);
159878 D_ASSERT(expr->IsAggregate());
159879 auto &aggr = expr->Cast<BoundAggregateExpression>();
159881
159883 for (auto &child : aggr.children) {
159885 }
159886 if (aggr.filter) {
159887 filter_count++;
159888 payload_types_filters.push_back(aggr.filter->return_type);
159889 }
159890 if (!aggr.function.HasStateCombineCallback()) {
159891 throw InternalException("Aggregate function %s is missing a combine method", aggr.function.name);
159892 }
159894 }
159895 for (const auto &pay_filters : payload_types_filters) {
159897 }
159898}
vector< BoundAggregateExpression * > bindings
Pointers to the aggregates.
Definition duckdb.cpp:99072
vector< LogicalType > aggregate_return_types
The aggregate return types.
Definition duckdb.cpp:99070
vector< unique_ptr< Expression > > aggregates
The aggregates that have to be computed.
Definition duckdb.cpp:99066
vector< LogicalType > payload_types
The payload types.
Definition duckdb.cpp:99068