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

Function garrow_execute_plan_build_project_node

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

* garrow_execute_plan_build_project_node: * @plan: A #GArrowExecutePlan. * @input: A #GArrowExecuteNode. * @options: A #GArrowProjectNodeOptions. * @error: (nullable): Return location for a #GError or %NULL. * * This is a shortcut of garrow_execute_plan_build_node() for project * node. * * Returns: (transfer full): A newly built and added #GArrowExecuteNode * for project on success, %N

Source from the content-addressed store, hash-verified

2368 * Since: 11.0.0
2369 */
2370GArrowExecuteNode *
2371garrow_execute_plan_build_project_node(GArrowExecutePlan *plan,
2372 GArrowExecuteNode *input,
2373 GArrowProjectNodeOptions *options,
2374 GError **error)
2375{
2376 GList *inputs = nullptr;
2377 inputs = g_list_prepend(inputs, input);
2378 auto node = garrow_execute_plan_build_node(plan,
2379 "project",
2380 inputs,
2381 GARROW_EXECUTE_NODE_OPTIONS(options),
2382 error);
2383 g_list_free(inputs);
2384 return node;
2385}
2386
2387/**
2388 * garrow_execute_plan_build_aggregate_node:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected