You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2022/01/05 19:07:00 UTC

[jira] [Created] (ARROW-15262) [C++] Create a ToTable sink node

Weston Pace created ARROW-15262:
-----------------------------------

             Summary: [C++] Create a ToTable sink node
                 Key: ARROW-15262
                 URL: https://issues.apache.org/jira/browse/ARROW-15262
             Project: Apache Arrow
          Issue Type: Sub-task
            Reporter: Weston Pace


The invocation would look something like:

{code}
  std::shared_ptr<Table> out_table;
  ARROW_RETURN_NOT_OK(arrow::compute::MakeExecNode(
      "table_sink", plan, {terminal_node}, arrow::compute::TableSinkOptions{&out_table}));
{code}

When the plan is finished (assuming a successful finish) then {{out_table}} will be the output of the plan collected into a table.  The schema of the table will be {{terminal_node->output_schema()}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)