Skip to content

DDL table rewriting in dm parser pkg doesn't support foreign key rewrites #12470

@a-cong

Description

@a-cong

Is your feature request related to a problem?

n/a

Describe the feature you'd like

The methods in the dm parser pkg skip foreign key nodes when traversing the AST in FetchDDLTable/RenameDDLTable - https://github.com/pingcap/tiflow/blob/master/dm/pkg/parser/common.go#L55. Bringing this up as we plan to use these methods to support schema/table routing in TiCDC, but for now the feature won't support foreign key rewrites.

Describe alternatives you've considered

No response

Teachability, Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributionThis PR is from a community contributor.type/featureIssues about a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions