Skip to content

Unable to parse scientific notation string to decimal when scale is 0 #5739

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

Closed
yjshen opened this issue May 9, 2024 · 1 comment · Fixed by #5740
Closed

Unable to parse scientific notation string to decimal when scale is 0 #5739

yjshen opened this issue May 9, 2024 · 1 comment · Fixed by #5740
Labels
arrow Changes to the arrow crate bug

Comments

@yjshen
Copy link
Member

yjshen commented May 9, 2024

To Reproduce

fn main() -> Result<()> {
    parse_decimal::<Decimal128Type>("1.234e16", 20, 0).unwrap();
    Ok(())
}

Expected behavior

Parse the string successfully.

Additional context

@tustvold
Copy link
Contributor

tustvold commented Jun 3, 2024

label_issue.py automatically added labels {'arrow'} from #5740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants