From bf17c9589dc8f1689a98d2ff316488dbbd81c70d Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Sun, 7 Jun 2026 12:32:14 +0200 Subject: [PATCH] realign buffers apparently --- r/src/compute-exec.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/r/src/compute-exec.cpp b/r/src/compute-exec.cpp index 9912210a14d4..c1447bfe74e0 100644 --- a/r/src/compute-exec.cpp +++ b/r/src/compute-exec.cpp @@ -48,8 +48,10 @@ std::shared_ptr 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())); return plan; }