Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Jul 26, 2024
1 parent de51d44 commit bc32cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions pkg/planner/core/casetest/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ func getPlanRows(planStr string) []string {
}

func compareStringSlice(t *testing.T, ss1, ss2 []string) {
require.Equal(t, len(ss1), len(ss2))
for i, s := range ss1 {
require.Equal(t, len(s), len(ss2[i]))
}
require.Equal(t, ss1, ss2)
}

func TestPreferRangeScan(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@
"Plan": [
" TableReader root ",
" └─ExchangeSender cop[tiflash] ",
" └─Selection cop[tiflash] gt(test.t1.b, ?)",
" └─TableFullScan cop[tiflash] table:t1, range:[?,?], pushed down filter:gt(test.t1.a, ?), gt(test.t1.c, ?), keep order:false"
" └─Selection cop[tiflash] gt(test.t1.a, ?)",
" └─TableFullScan cop[tiflash] table:t1, range:[?,?], pushed down filter:gt(test.t1.b, ?), gt(test.t1.c, ?), keep order:false"
]
},
{
Expand Down

0 comments on commit bc32cef

Please sign in to comment.