Tidb遇到这样的问题该如何处理confirm your DDL statement is correct and needed

image

[code=11006:class=functional:scope=internal:level=high] encountered incompatible DDL in TiDB:
\tplease confirm your DDL statement is correct and needed.
\tfor TiDB compatible DDL, please see the docs:
\t English version: https://pingcap.com/docs/dev/reference/mysql-compatibility/#ddl\
\t Chinese version: https://pingcap.com/docs-cn/dev/reference/mysql-compatibility/#ddl\
\tif the DDL is not needed, you can use a filter rule with "*" schema-pattern to ignore it.
\t : parse statement: line 1 column 11 near "EVENT deleteRunninglog ENABLE" %!(EXTRA string=ALTER EVENT deleteRunninglog ENABLE)
github.com/pingcap/dm/pkg/terror.(*Error).Delegate
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/pkg/terror/terror.go:267
github.com/pingcap/dm/pkg/parser.Parse
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/pkg/parser/common.go:42
github.com/pingcap/dm/syncer.(*Syncer).parseDDLSQL
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/ddl.go:67
github.com/pingcap/dm/syncer.(*Syncer).handleQueryEvent
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:1545
github.com/pingcap/dm/syncer.(*Syncer).Run
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:1292
github.com/pingcap/dm/syncer.(*Syncer).Process
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:590
github.com/pingcap/dm/syncer.(*Syncer).Resume
\t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:2287
runtime.goexit
\t/usr/local/go/src/runtime/asm_amd64.s:1337

image

此 ddl 在 tidb 中并不支持,可以通过 binlog event filter 过滤下。

过滤条件怎么配置

你好,

文档中描述的比较清晰,如果有使用上不符合预期的可以拿出来讨论下。