Skip to content

Commit 07bacda

Browse files
authored
Merge pull request #30765 from ggevay/eqprop-ck-tracing
Downgrade EQProp-ColumnKnowledge soft_assert
2 parents 8f54a67 + a9f4674 commit 07bacda

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

ci/nightly/pipeline.template.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,6 @@ steps:
11911191
timeout_in_minutes: 58
11921192
agents:
11931193
queue: hetzner-aarch64-4cpu-8gb
1194-
skip: "flaky until database-issues#8797 is fixed"
11951194
plugins:
11961195
- ./ci/plugins/mzcompose:
11971196
composition: feature-flag-consistency
@@ -1219,7 +1218,6 @@ steps:
12191218
timeout_in_minutes: 60
12201219
agents:
12211220
queue: hetzner-aarch64-4cpu-8gb
1222-
skip: "flaky until database-issues#8797 is fixed"
12231221
plugins:
12241222
- ./ci/plugins/mzcompose:
12251223
composition: sqlsmith

src/transform/src/equivalence_propagation.rs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,21 @@ impl crate::Transform for EquivalencePropagation {
7070
&mut get_equivalences,
7171
);
7272

73+
// Trace the plan as the result of `equivalence_propagation` before potentially applying
74+
// `ColumnKnowledge`. (If `ColumnKnowledge` runs, it will trace its own result.)
75+
mz_repr::explain::trace_plan(&*relation);
76+
7377
if prior == *relation {
7478
let ck = crate::ColumnKnowledge::default();
7579
ck.transform(relation, ctx)?;
76-
mz_ore::soft_assert_or_log!(
77-
prior == *relation,
78-
"ColumnKnowledge performed work after EquivalencePropagation"
79-
);
80+
if prior != *relation {
81+
tracing::error!(
82+
?ctx.global_id,
83+
"ColumnKnowledge performed work after EquivalencePropagation",
84+
);
85+
}
8086
}
8187

82-
mz_repr::explain::trace_plan(&*relation);
8388
Ok(())
8489
}
8590
}

0 commit comments

Comments
 (0)