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

Fixed lone number support #13

Merged
merged 1 commit into from Sep 25, 2022

Conversation

cjermain
Copy link
Collaborator

I'm glad to see the benchmarking and performance improvements of this library over serde_json. When working on updating pola-rs/polars#3413, I noticed that changes in jorgecarleitao/arrow2#1024 had broken support for deserializing numbers on their own (outside of JSON lists or objects). This PR fixes the root cause in the number parsing code, and provides parity with serde_json support of lone numbers.

I'm hoping to incorporate these changes into pola-rs/polars#3413, so an update to arrow2 would also be greatly appreciated! 😄

@codecov
Copy link

codecov bot commented Sep 25, 2022

Codecov Report

Base: 99.62% // Head: 99.63% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (8058d17) compared to base (7555c06).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   99.62%   99.63%           
=======================================
  Files           9        9           
  Lines         268      272    +4     
=======================================
+ Hits          267      271    +4     
  Misses          1        1           
Impacted Files Coverage Δ
src/number.rs 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jorgecarleitao
Copy link
Owner

Awesome! Thanks a lot!

I will merge this and cut a patch release so it is propagated upstream.

@jorgecarleitao jorgecarleitao changed the title Fixing lone number support Fixed lone number support Sep 25, 2022
@jorgecarleitao jorgecarleitao merged commit 68dd9d9 into jorgecarleitao:main Sep 25, 2022
@jorgecarleitao
Copy link
Owner

Released as 0.4.1. Thanks again!

@cjermain
Copy link
Collaborator Author

Awesome, thanks for the quick response!

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.

None yet

2 participants