thisisnic commented on code in PR #39542:
URL: https://github.com/apache/arrow/pull/39542#discussion_r1446781427


##########
r/src/compute-exec.cpp:
##########
@@ -302,6 +301,8 @@ std::shared_ptr<acero::ExecNode> ExecNode_Scan(
       "make_struct", std::move(exprs),
       
compute::MakeStructOptions{cpp11::as_cpp<std::vector<std::string>>(field_names)});
 
+  options->dataset_schema = 
GetProjectedSchemaFromExpression(options->projection, dataset->schema());

Review Comment:
   I don't think we can actually do this this way as this function is internal, 
but I think that we need to do something like what this does.



-- 
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