Skip to content

Commit 6a770f0

Browse files
committed
fix: avoid reference after move when building w/o datafusion
1 parent 528192e commit 6a770f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/core/src/operations/optimize.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,8 @@ impl MergePlan {
718718
})
719719
.boxed(),
720720
OptimizeOperations::ZOrder(zorder_columns, bins) => {
721+
debug!("Starting zorder with the columns: {zorder_columns:?} {bins:?}");
722+
721723
#[cfg(not(feature = "datafusion"))]
722724
let exec_context = Arc::new(zorder::ZOrderExecContext::new(
723725
zorder_columns,
@@ -729,7 +731,6 @@ impl MergePlan {
729731
bins.len() <= num_cpus::get(),
730732
));
731733

732-
debug!("Starting zorder with the columns: {zorder_columns:?} {bins:?}");
733734
#[cfg(feature = "datafusion")]
734735
let exec_context = Arc::new(zorder::ZOrderExecContext::new(
735736
zorder_columns,

0 commit comments

Comments
 (0)