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-36565] Route module allows merging Decimals with various precisions #3651

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

Conversation

yuxiqian
Copy link
Contributor

@yuxiqian yuxiqian commented Oct 18, 2024

This closes FLINK-36565.

Currently, table-merging router does not allow coercing Decimal fields with different precisions from upstream, which means some lossless conversions are actually not possible, including:

  • TINYINT, SMALLINT, INT, BIGINT to DECIMAL(p > 17, s >= 0)
  • low precision DECIMAL to high precision ones

I've baked some changes from #3636 (FLINK-36474) into this PR since there are some common changes between them.

@yuxiqian
Copy link
Contributor Author

Could @melin please take a look?

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