You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Vibhatha Lakmal Abeykoon (Jira)" <ji...@apache.org> on 2022/01/27 06:18:00 UTC
[jira] [Commented] (ARROW-15262) [C++] Create a ToTable sink node
[ https://issues.apache.org/jira/browse/ARROW-15262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482886#comment-17482886 ]
Vibhatha Lakmal Abeykoon commented on ARROW-15262:
--------------------------------------------------
For this one tested an approach by considering an extension to the `consuming_sink`. Since we want to provide the output from the exec system to an outside system or resume outside the exec-plan, this could be sufficient.
[~westonpace] any thoughts?
> [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
> Assignee: Vibhatha Lakmal Abeykoon
> Priority: Major
>
> 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)