-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Copy link
Labels
affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.Issues or PRs related to TiCDC.severity/moderatetype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.type/regression
Description
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.This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.Issues or PRs related to TiCDC.severity/moderatetype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.type/regression