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

ClickHouse: Put numeric-string mapping behind feature flag #2305

Merged
merged 16 commits into from
Dec 2, 2024

Conversation

Amogh-Bharadwaj
Copy link
Contributor

Why

Unbounded numerics in Postgres databases statistically are unlikely to have values with dimensions larger than 76,38.
Currently by default unbounded numeric in postgres is mapped to String in ClickHouse - an unideal mapping from data nativity point of view and only useful for the scarce cases mentioned above

What

This PR puts this mapping choice behind a dynamic setting flag whose default is false - thereby restoring the default mapping to numeric to Decimal in all cases

Adapted the E2E test for this

@serprex serprex force-pushed the numeric-string-ff branch 2 times, most recently from 5ac2e4f to b92c6c5 Compare December 2, 2024 21:29
@serprex serprex merged commit 6d99f78 into main Dec 2, 2024
8 of 9 checks passed
@serprex serprex deleted the numeric-string-ff branch December 2, 2024 23:01
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.

3 participants