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

Function garrow_execute_plan_build_sink_node

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

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

Source from the content-addressed store, hash-verified

2432 * Since: 6.0.0
2433 */
2434GArrowExecuteNode *
2435garrow_execute_plan_build_sink_node(GArrowExecutePlan *plan,
2436 GArrowExecuteNode *input,
2437 GArrowSinkNodeOptions *options,
2438 GError **error)
2439{
2440 GList *inputs = NULL;
2441 inputs = g_list_prepend(inputs, input);
2442 auto node = garrow_execute_plan_build_node(plan,
2443 "sink",
2444 inputs,
2445 GARROW_EXECUTE_NODE_OPTIONS(options),
2446 error);
2447 g_list_free(inputs);
2448 return node;
2449}
2450
2451/**
2452 * garrow_execute_plan_build_hash_join_node:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected