Skip to content

Commit

Permalink
enable parallel apply tests (#7802)
Browse files Browse the repository at this point in the history
ref #7746
  • Loading branch information
windtalker authored Jul 13, 2023
1 parent 8404eb7 commit 24acf81
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions tests/fullstack-test/mpp/apply.test
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 24acf81

Please sign in to comment.