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] Add new type_mapping options to ignore some type changes when spcified #4921

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JackeyLee007
Copy link
Contributor

Purpose

Linked issue: close #4783

We use ticdc to collect data from tidb to kafka, but it does not provide specific parameters for types. No length for varcahr, and no precision and scale for decimal. The current schema evoluation would improve them to string and decimal(38, 18), which is not expected.
So we want to keep the type specified manually unchanged. This could be controlled by the new type_mapping options. NO_CHNAGE, DECIMAL_NO_CHANGE.

Tests

Observe the varchar and decimal field definition after new value ingested.

API and Format

No.

Documentation

Yes and provided

@JackeyLee007
Copy link
Contributor Author

@yuzelin Please help review the new type_mapping options

@yuzelin yuzelin self-requested a review January 17, 2025 03:11
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.

[Feature] Ignore decimal type evolution in special case
1 participant