Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MySQL] Moving filter columns logic #608

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

Tang8330
Copy link
Collaborator

@Tang8330 Tang8330 commented Dec 18, 2024

Moving the filter columns logic to buildParsedColumns so we can filter out columns at a higher level.

Once this PR is in, we'll have column exclusion supported.

@@ -47,7 +45,7 @@ func (l LightDebeziumTransformer) BuildPartitionKey(beforeRow, afterRow Row) (de
return convertPartitionKey(l.valueConverters, l.partitionKeys, row)
}

func (l LightDebeziumTransformer) BuildEventPayload(source util.Source, beforeRow Row, afterRow Row, op string, ts time.Time) (util.SchemaEventPayload, error) {
func (l LightDebeziumTransformer) BuildEventPayload(source util.Source, beforeRow Row, afterRow Row, op string) (util.SchemaEventPayload, error) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused arg

@Tang8330 Tang8330 changed the title [MysQL] Filter columns [MysQL] Moving filter columns logic Dec 18, 2024
@Tang8330 Tang8330 marked this pull request as ready for review December 18, 2024 19:00
@Tang8330 Tang8330 requested a review from a team as a code owner December 18, 2024 19:00
@Tang8330 Tang8330 merged commit e98ae1a into master Dec 18, 2024
7 checks passed
@Tang8330 Tang8330 deleted the support-column-filtering branch December 18, 2024 19:32
@Tang8330 Tang8330 changed the title [MysQL] Moving filter columns logic [MySQL] Moving filter columns logic Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants