diff --git a/e2e_test/streaming/aggregate/shuffle_approx_percentile.slt b/e2e_test/streaming/aggregate/shuffle_approx_percentile.slt index efc377f8aed48..3f2c400b91f0f 100644 --- a/e2e_test/streaming/aggregate/shuffle_approx_percentile.slt +++ b/e2e_test/streaming/aggregate/shuffle_approx_percentile.slt @@ -58,19 +58,6 @@ select * from m1; ---- -982.5779489474152 -804.4614206837127 0 804.4614206837127 982.5779489474152 -# Test state encode / decode -onlyif can-use-recover -statement ok -recover; - -onlyif can-use-recover -sleep 10s - -query I -select * from m1; ----- --982.5779489474152 -804.4614206837127 0 804.4614206837127 982.5779489474152 - # Test 0 bool { - self.core.can_two_phase_agg() && self.two_phase_agg_enabled() + self.core.can_two_phase_agg() + && self + .core + // Ban two phase approx percentile. + .agg_calls + .iter() + .map(|agg_call| &agg_call.agg_kind) + .all(|agg_kind| !matches!(agg_kind, AggKind::Builtin(PbAggKind::ApproxPercentile))) + && self.two_phase_agg_enabled() } }