Skip to content

Commit

Permalink
ci acceleration: reduce execution time for TestDirectReadingWithAgg (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-shaoge authored May 24, 2021
1 parent a126b06 commit 2e7ace4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions executor/partition_table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ func (s *partitionTableSuite) TestDirectReadingWithAgg(c *C) {
tk.MustExec("insert into tregular2 values " + strings.Join(vals, ","))

// test range partition
for i := 0; i < 2000; i++ {
for i := 0; i < 200; i++ {
// select /*+ stream_agg() */ a from t where a > ? group by a;
// select /*+ hash_agg() */ a from t where a > ? group by a;
// select /*+ stream_agg() */ a from t where a in(?, ?, ?) group by a;
Expand Down Expand Up @@ -1592,7 +1592,7 @@ func (s *partitionTableSuite) TestDirectReadingWithAgg(c *C) {
}

// test hash partition
for i := 0; i < 2000; i++ {
for i := 0; i < 200; i++ {
// select /*+ stream_agg() */ a from t where a > ? group by a;
// select /*+ hash_agg() */ a from t where a > ? group by a;
// select /*+ stream_agg() */ a from t where a in(?, ?, ?) group by a;
Expand Down Expand Up @@ -1624,7 +1624,7 @@ func (s *partitionTableSuite) TestDirectReadingWithAgg(c *C) {
}

// test list partition
for i := 0; i < 2000; i++ {
for i := 0; i < 200; i++ {
// select /*+ stream_agg() */ a from t where a > ? group by a;
// select /*+ hash_agg() */ a from t where a > ? group by a;
// select /*+ stream_agg() */ a from t where a in(?, ?, ?) group by a;
Expand Down

0 comments on commit 2e7ace4

Please sign in to comment.