nealrichardson commented on code in PR #13397:
URL: https://github.com/apache/arrow/pull/13397#discussion_r927213672


##########
r/R/query-engine.R:
##########
@@ -81,8 +82,8 @@ ExecPlan <- R6Class("ExecPlan",
           # head and tail are not ExecNodes; at best we can handle them via
           # SinkNode, so if there are any steps done after head/tail, we need 
to
           # evaluate the query up to then and then do a new query for the rest.
-          # as_record_batch_reader() will build and run an ExecPlan
-          node <- self$SourceNode(as_record_batch_reader(.data$.data))
+          # as_arrow_table() will build and run an ExecPlan
+          node <- self$SourceNode(as_arrow_table(.data$.data))

Review Comment:
   Can you make a followup JIRA for this? I think there are a few options, but 
agree that we should just error for now, no need to grow the scope even further 
at this point.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to