Skip to content

Fix record formatting in 1.58 - #1178

Merged
alamb merged 1 commit into
apache:masterfrom
tustvold:stable-output-format
Jan 15, 2022
Merged

alamb merged 1 commit into
apache:masterfrom
tustvold:stable-output-format

Conversation

@tustvold

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #1177

Rationale for this change

Fixes failing tests

What changes are included in this PR?

There appears to have been a change in the debug formatting of floats in 1.58 that causes the debug output to change - in particular it prints in scientific notation where previously it did not. I can't find explicit mention of this in the release notes, but have confirmed it locally.

I've replicated the behavior tested by the tests, but I'm not entirely sure this is exactly what it would have previously output for all cases. The debug outputs are not stable.

Are there any user-facing changes?

No

@github-actions github-actions Bot added the parquet Changes to the parquet crate label Jan 14, 2022
@codecov-commenter

codecov-commenter commented Jan 14, 2022 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.66%. Comparing base (231cf78) to head (2069358).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1178      +/-   ##
==========================================
+ Coverage   82.59%   82.66%   +0.07%     
==========================================
  Files         173      173              
  Lines       50919    50902      -17     
==========================================
+ Hits        42055    42077      +22     
+ Misses       8864     8825      -39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alamb
alamb merged commit 66b84f3 into apache:master Jan 15, 2022
@alamb

alamb commented Jan 15, 2022

Copy link
Copy Markdown
Contributor

Thanks @tustvold

ovr pushed a commit to cube-js/arrow-rs that referenced this pull request Apr 2, 2024
ovr pushed a commit to cube-js/arrow-rs that referenced this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parquet Record Tests Fail on Rust 1.58

4 participants