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