Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed redundant comment.
  • Loading branch information
kosiew committed Oct 3, 2026
commit 630034f3483139880352ed85b59a97d68b7e7039
Original file line number Diff line number Diff line change
Expand Up @@ -5950,12 +5950,6 @@ fn ensure_distribution_shares_statistics_cache() -> Result<()> {
// `depth` pass-through operators sitting on top of it. Each ancestor's
// distribution enforcement inspects its child's statistics, which recurse to
// the leaf.
//
// The measured arm drives the real `EnsureRequirements` rule, so the shared
// context under test is the one the rule actually uses — reimplementing it
// here would keep passing even if the rule stopped sharing. The baseline arm
// allocates a fresh `StatisticsContext` per node, reproducing the behavior
// before this change.
fn deep_plan(depth: usize, calls: &Arc<AtomicUsize>) -> Arc<dyn ExecutionPlan> {
let mut plan: Arc<dyn ExecutionPlan> =
Arc::new(CountingStatsExec::new(parquet_exec(), Arc::clone(calls)));
Expand Down
Loading