diff --git a/e2e_test/streaming/aggregate/two_phase_approx_percentile_merge_stateless_agg.slt b/e2e_test/streaming/aggregate/two_phase_approx_percentile_merge_stateless_agg.slt index fd54f7200f958..49d5d781f79f0 100644 --- a/e2e_test/streaming/aggregate/two_phase_approx_percentile_merge_stateless_agg.slt +++ b/e2e_test/streaming/aggregate/two_phase_approx_percentile_merge_stateless_agg.slt @@ -23,16 +23,15 @@ statement ok create materialized view m1 as select approx_percentile(0.01, 0.01) within group (order by p_col) as p01, - sum(p_col), + sum(p_col) as s, approx_percentile(0.5, 0.01) within group (order by p_col) as p50, - count(*), - approx_percentile(0.99, 0.01) within group (order by p_col) as p99 + count(*)::double + approx_percentile(0.99, 0.01) within group (order by p_col) as p99 from t; query I -select * from m1; +select p01, s, p50, round(p99::numeric, 2) from m1; ---- --982.5779489474152 0 0 2001 982.5779489474152 +-982.5779489474152 0 0 2983.58 # Test state encode / decode onlyif can-use-recover @@ -45,7 +44,7 @@ sleep 10s query I select * from m1; ---- --982.5779489474152 0 0 2001 982.5779489474152 +-982.5779489474152 0 0 2983.5779489474152 # Test 0