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

Function garrow_execute_plan_build_aggregate_node

c_glib/arrow-glib/compute.cpp:2402–2417  ·  view source on GitHub ↗

* garrow_execute_plan_build_aggregate_node: * @plan: A #GArrowExecutePlan. * @input: A #GArrowExecuteNode. * @options: A #GArrowAggregateNodeOptions. * @error: (nullable): Return location for a #GError or %NULL. * * This is a shortcut of garrow_execute_plan_build_node() for aggregate * node. * * Returns: (transfer full): A newly built and added #GArrowExecuteNode * for aggregation on s

Source from the content-addressed store, hash-verified

2400 * Since: 6.0.0
2401 */
2402GArrowExecuteNode *
2403garrow_execute_plan_build_aggregate_node(GArrowExecutePlan *plan,
2404 GArrowExecuteNode *input,
2405 GArrowAggregateNodeOptions *options,
2406 GError **error)
2407{
2408 GList *inputs = NULL;
2409 inputs = g_list_prepend(inputs, input);
2410 auto node = garrow_execute_plan_build_node(plan,
2411 "aggregate",
2412 inputs,
2413 GARROW_EXECUTE_NODE_OPTIONS(options),
2414 error);
2415 g_list_free(inputs);
2416 return node;
2417}
2418
2419/**
2420 * garrow_execute_plan_build_sink_node:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected