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/03/04 17:59:00 UTC

[jira] [Created] (ARROW-15849) [C++] Add a method that accepts a Substrait plan and returns a RecordBatchReader

Weston Pace created ARROW-15849:
-----------------------------------

             Summary: [C++] Add a method that accepts a Substrait plan and returns a RecordBatchReader
                 Key: ARROW-15849
                 URL: https://issues.apache.org/jira/browse/ARROW-15849
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Weston Pace


This will shield implementations from having to deal with SinkNodeConsumer.  The implementation should be pretty similar to the SinkNode that we have today for exec plans.  We can use a PushGenerator to be our producer/consumer queue that the RecordBatchReader consumes.  The Substrait sink consumer will then push into that PushGenerator.  This method would fail if the plan has more than one top-level relation (e.g. more than one sink).



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