-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.component/testtype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
testkit.go:136:
Error Trace: testkit/testkit.go:136
testkit/testkit.go:129
ddl/ingest/tests/partition_table_test.go:35
Error: Received unexpected error:
[schema:1050]Table 't' already exists
github.com/pingcap/errors.AddStack
external/com_github_pingcap_errors/errors.go:174
github.com/pingcap/errors.Trace
external/com_github_pingcap_errors/juju_adaptor.go:15
github.com/pingcap/tidb/ddl.(*ddl).DoDDLJob
ddl/ddl.go:1196
github.com/pingcap/tidb/ddl.(*ddl).CreateTableWithInfo
ddl/ddl_api.go:2728
github.com/pingcap/tidb/ddl.(*ddl).CreateTable
ddl/ddl_api.go:2568
github.com/pingcap/tidb/executor.(*DDLExec).executeCreateTable
executor/ddl.go:265
github.com/pingcap/tidb/executor.(*DDLExec).Next
executor/ddl.go:157
github.com/pingcap/tidb/executor/internal/exec.Next
executor/internal/exec/executor.go:283
github.com/pingcap/tidb/executor.(*ExecStmt).next
executor/adapter.go:1223
github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor
executor/adapter.go:968
github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay
executor/adapter.go:794
github.com/pingcap/tidb/executor.(*ExecStmt).Exec
executor/adapter.go:575
github.com/pingcap/tidb/session.runStmt
session/session.go:2421
github.com/pingcap/tidb/session.(*session).ExecuteStmt
session/session.go:2271
github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext
testkit/testkit.go:353
github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext
testkit/testkit.go:134
github.com/pingcap/tidb/testkit.(*TestKit).MustExec
testkit/testkit.go:129
ddl/ingest/tests/tests_test.TestAddIndexIngestRecoverPartition
ddl/ingest/tests/partition_table_test.go:35
testing.tRunner
GOROOT/src/testing/testing.go:1595
runtime.goexit
src/runtime/asm_amd64.s:1650
Test: TestAddIndexIngestRecoverPartition
Messages: sql:create table t (a int primary key, b int) partition by hash(a) partitions 8;, [], error stack [schema:1050]Table 't' already exists
github.com/pingcap/errors.AddStack
external/com_github_pingcap_errors/errors.go:174
github.com/pingcap/errors.Trace
external/com_github_pingcap_errors/juju_adaptor.go:15
github.com/pingcap/tidb/ddl.(*ddl).DoDDLJob
ddl/ddl.go:1196
github.com/pingcap/tidb/ddl.(*ddl).CreateTableWithInfo
ddl/ddl_api.go:2728
github.com/pingcap/tidb/ddl.(*ddl).CreateTable
ddl/ddl_api.go:2568
github.com/pingcap/tidb/executor.(*DDLExec).executeCreateTable
executor/ddl.go:265
github.com/pingcap/tidb/executor.(*DDLExec).Next
executor/ddl.go:157
github.com/pingcap/tidb/executor/internal/exec.Next
executor/internal/exec/executor.go:283
github.com/pingcap/tidb/executor.(*ExecStmt).next
executor/adapter.go:1223
github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor
executor/adapter.go:968
github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay
executor/adapter.go:794
github.com/pingcap/tidb/executor.(*ExecStmt).Exec
executor/adapter.go:575
github.com/pingcap/tidb/session.runStmt
session/session.go:2421
github.com/pingcap/tidb/session.(*session).ExecuteStmt
session/session.go:2271
github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext
testkit/testkit.go:353
github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext
testkit/testkit.go:134
github.com/pingcap/tidb/testkit.(*TestKit).MustExec
testkit/testkit.go:129
ddl/ingest/tests/tests_test.TestAddIndexIngestRecoverPartition
ddl/ingest/tests/partition_table_test.go:35
testing.tRunner
GOROOT/src/testing/testing.go:1595
runtime.goexit
src/runtime/asm_amd64.s:1650
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.component/testtype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.