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,