github.com/dolthub/go-mysql-server@v0.18.0/enginetest/queries/parallelism.go (about)

     1  package queries
     2  
     3  type ParallelismTest struct {
     4  	Query    string
     5  	Parallel bool
     6  }
     7  
     8  var ParallelismTests = []ParallelismTest{
     9  	{
    10  		Query:    "SELECT /*+ JOIN_ORDER(scalarSubq0,xy) LOOKUP_JOIN(xy,scalarSubq0) */ count(*) from xy where y in (select distinct v from uv)",
    11  		Parallel: true,
    12  	},
    13  	{
    14  		Query:    "SELECT /*+ JOIN_ORDER(scalarSubq0,xy) LOOKUP_JOIN(xy,scalarSubq0) */ count(*) from xy where y in (select distinct u from uv)",
    15  		Parallel: false,
    16  	},
    17  }