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)

Reply via email to