From 24acf81093decac269a925f0650cf4efb47c0f7c Mon Sep 17 00:00:00 2001 From: xufei Date: Thu, 13 Jul 2023 11:45:44 +0800 Subject: [PATCH] enable parallel apply tests (#7802) ref pingcap/tiflash#7746 --- tests/fullstack-test/mpp/apply.test | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/tests/fullstack-test/mpp/apply.test b/tests/fullstack-test/mpp/apply.test index 736f10f5dca..1460e646b18 100644 --- a/tests/fullstack-test/mpp/apply.test +++ b/tests/fullstack-test/mpp/apply.test @@ -43,20 +43,19 @@ mysql> use test; set @@tidb_enable_parallel_apply=0; set @@tidb_isolation_read_e | 4095 | +----------+ -## parallel apply has bugs, will enable the test after https://github.com/pingcap/tidb/issues/45299 is fixed. -# mysql> use test; set @@tidb_enable_parallel_apply=1; set @@tidb_isolation_read_engines='tiflash'; set @@tidb_enforce_mpp=1; select count(*) from t where a > (select avg(b) from t t1 where t.a > t1.a); -# +----------+ -# | count(*) | -# +----------+ -# | 4094 | -# +----------+ +mysql> use test; set @@tidb_enable_parallel_apply=1; set @@tidb_isolation_read_engines='tiflash'; set @@tidb_enforce_mpp=1; select count(*) from t where a > (select avg(b) from t t1 where t.a > t1.a); ++----------+ +| count(*) | ++----------+ +| 4094 | ++----------+ -# mysql> use test; set @@tidb_enable_parallel_apply=1; set @@tidb_isolation_read_engines='tiflash'; set @@tidb_enforce_mpp=1; select count(*) from t where a > (select a from t t1 where t.a > t1.a limit 1); -# +----------+ -# | count(*) | -# +----------+ -# | 4095 | -# +----------+ +mysql> use test; set @@tidb_enable_parallel_apply=1; set @@tidb_isolation_read_engines='tiflash'; set @@tidb_enforce_mpp=1; select count(*) from t where a > (select a from t t1 where t.a > t1.a limit 1); ++----------+ +| count(*) | ++----------+ +| 4095 | ++----------+ # Clean up. mysql> drop table if exists test.t