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

Change default interpretation of real literals from DOUBLE to DECIMAL #3952

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mxwli
Copy link
Contributor

@mxwli mxwli commented Jul 26, 2024

In principle should fix #3949
Breaks a million other tests because decimal -> string formatting is slightly different from double -> string formatting, leading to errors where tests expect 1.000000 but get 1.0. This is probably not the only cause but it's very prevalent
Uses inferMinimalType from the csv-sniffing branch to determine whether or not the string should be interpreted as a decimal or double.

Contributor agreement

@mxwli
Copy link
Contributor Author

mxwli commented Aug 6, 2024

closing because this idea takes a lot of work; possibly reopen if revisiting this project

@mxwli mxwli closed this Aug 6, 2024
@mxwli mxwli reopened this Aug 13, 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.

Bug: Decimal edge case failure
1 participant