Skip to content

TestDAGPlanBuilderUnionScan is a break test #37621

Closed
@hawkingrei

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

func TestDAGPlanBuilderUnionScan(t *testing.T) {
store := testkit.CreateMockStore(t)
tk := testkit.NewTestKit(t, store)
tk.MustExec("use test")
var input []string
var output []struct {
SQL string
Best string
}
p := parser.New()
is := infoschema.MockInfoSchema([]*model.TableInfo{core.MockSignedTable(), core.MockUnsignedTable()})
for i, tt := range input {

TestDAGPlanBuilderUnionScan forget to load the test data. so it always passes to test.

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions