From 6a770f04761e674703b4a799904d9e955391ca55 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Fri, 27 Sep 2024 21:40:26 +0000 Subject: [PATCH] fix: avoid reference after move when building w/o datafusion --- crates/core/src/operations/optimize.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/core/src/operations/optimize.rs b/crates/core/src/operations/optimize.rs index cf096d56d1..c4048c9fb7 100644 --- a/crates/core/src/operations/optimize.rs +++ b/crates/core/src/operations/optimize.rs @@ -718,6 +718,8 @@ impl MergePlan { }) .boxed(), OptimizeOperations::ZOrder(zorder_columns, bins) => { + debug!("Starting zorder with the columns: {zorder_columns:?} {bins:?}"); + #[cfg(not(feature = "datafusion"))] let exec_context = Arc::new(zorder::ZOrderExecContext::new( zorder_columns, @@ -729,7 +731,6 @@ impl MergePlan { bins.len() <= num_cpus::get(), )); - debug!("Starting zorder with the columns: {zorder_columns:?} {bins:?}"); #[cfg(feature = "datafusion")] let exec_context = Arc::new(zorder::ZOrderExecContext::new( zorder_columns,