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

[FLINK-36580][pipeline-connector-mysql] Fix column.[in|ex]clude.list parameter causing schema inconsistency #3810

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MOBIN-F
Copy link
Contributor

@MOBIN-F MOBIN-F commented Dec 20, 2024

When users need to ignore some privacy fields or large fields from the collection end, column.include.list/column.exclude.list may be used. At this time, the pipeline may fail due to schema inconsistency.

source:
  type: mysql
  ....
  debezium.column.exclude.list: test_db.test_table.big_col

transform:
  - source-table: test_db.test_table
  projection: \*
  description: project fields and filter 

error will be reported:

  1. ArrayIndexOutOfBoundsException
Caused by: java.lang.ArrayIndexOutOfBoundsException: 33370909
    at org.apache.flink.cdc.common.data.binary.BinarySegmentUtils.getLongMultiSegments(BinarySegmentUtils.java:731)
    at org.apache.flink.cdc.common.data.binary.BinarySegmentUtils.getLong(BinarySegmentUtils.java:721) 
  1. columns are not aligned properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant