Skip to content

make the case-sensitive works on the whole dispatchers configuration #12103

@3AceShowHand

Description

@3AceShowHand

Is your feature request related to a problem?

At the moment, there is one configuration named as case-sensitive, which controls the database name and table name specified in the dispatcher part.

Let's take the following as an example, the columns specified the columns used to calculate the partition.

It may be hard for the user to specify columns with case if there are a lot of tables. For example, table's may have different columns name to indicate the same thing, such as ID, Id, id, etc.

[sink]
dispatchers = [
    {matcher = ['test2.*'], partition = "columns", columns = ["id", "a"]},
]

This should also takes effect on the column-selector configurations

[sink]
column-selectors = [
    {matcher = ['test.t1'], columns = ['a', 'b']},
    {matcher = ['test.*'], columns = ["*", "!b"]},
    {matcher = ['test1.t1'], columns = ['column*', '!column1']},
    {matcher = ['test3.t'], columns = ["column?", "!column1"]},
]

Describe the feature you'd like

the case-sensitive field, should also take affect on the columns configurations.

Describe alternatives you've considered

No response

Teachability, Documentation, Adoption, Migration Strategy

After this feature is implemented, should also update the document to mention this.

Metadata

Metadata

Assignees

Labels

affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.severity/moderatetype/bugThe issue is confirmed as a bug.type/regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions