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


##########
r/src/compute-exec.cpp:
##########
@@ -48,8 +48,10 @@ std::shared_ptr<acero::ExecPlan> ExecPlan_create(bool 
use_threads) {
   // TODO(weston) using gc_context() in this way is deprecated.  Once ordering 
has
   // been added we can probably entirely remove all reference to ExecPlan from 
R
   // in favor of DeclarationToXyz
-  auto plan =
-      ValueOrStop(acero::ExecPlan::Make(use_threads ? &threaded_context : 
gc_context()));
+  acero::QueryOptions query_options;
+  query_options.unaligned_buffer_handling = 
acero::UnalignedBufferHandling::kReallocate;
+  auto plan = ValueOrStop(acero::ExecPlan::Make(
+      std::move(query_options), use_threads ? &threaded_context : 
gc_context()));

Review Comment:
   Nope, this is pedantic, most of our users don't engage with this at this 
level. The real question isn't whether we should document it but whether 
there'll likely be user impact. Given we don't see these warnings particularly 
often on our tests, I'm going to assume minimal impact.



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