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

Parquet: Fix string display for f32/f64 zero values #5046

Closed

Conversation

Jefffrey
Copy link
Contributor

@Jefffrey Jefffrey commented Nov 7, 2023

Which issue does this PR close?

Closes #5045

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the parquet Changes to the parquet crate label Nov 7, 2023
@tustvold
Copy link
Contributor

tustvold commented Nov 7, 2023

What is the issue with 0E0? I agree it looks a little odd, but it isn't incorrect?

@tustvold tustvold added the api-change Changes to the arrow API label Nov 7, 2023
@Jefffrey
Copy link
Contributor Author

Jefffrey commented Nov 7, 2023

What is the issue with 0E0? I agree it looks a little odd, but it isn't incorrect?

Yeah I wasn't sure if this was intended or not. It felt like a bug since the code seemed to suggest it used the E notation for very large positive/negative numbers, and 0E0 just happened to be caught up in it accidentally.

When I was implementing f16 (#5003) I wasn't sure if we should display 0E0 to be consistent or just have it display 0.0 anyway

If this is behaviour is fine then can close the PR

@tustvold
Copy link
Contributor

tustvold commented Nov 7, 2023

I don't have a good enough sense of what people are using the record API for to be comfortable making breaking changes to it

@Jefffrey
Copy link
Contributor Author

Jefffrey commented Nov 7, 2023

No problem, closing as no need to change

@Jefffrey Jefffrey closed this Nov 7, 2023
@Jefffrey Jefffrey deleted the parquet_float_string_display_zero branch November 7, 2023 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-change Changes to the arrow API parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parquet record api: display for float/double 0.0 shows 0E0
2 participants