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

[String] Cast to INT64 should use base-10 parsing #159

Merged
merged 3 commits into from
Mar 9, 2024

Conversation

ohaibbq
Copy link
Contributor

@ohaibbq ohaibbq commented Feb 2, 2024

Using base 0 leads to incorrectly parsed integers as well as errors depending on leading-zero format.

Closes #158

@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2024

Codecov Report

Merging #159 (19f1caa) into main (961ce06) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
- Coverage   46.39%   46.39%   -0.01%     
==========================================
  Files          47       47              
  Lines       17828    17833       +5     
==========================================
+ Hits         8271     8273       +2     
- Misses       8111     8113       +2     
- Partials     1446     1447       +1     

@ohaibbq ohaibbq marked this pull request as draft February 2, 2024 06:40
@ohaibbq ohaibbq marked this pull request as ready for review February 2, 2024 06:42
Copy link
Owner

@goccy goccy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution !

@goccy goccy merged commit 2c2416b into goccy:main Mar 9, 2024
5 of 6 checks passed
@ohaibbq ohaibbq deleted the dan/parse-int branch March 28, 2024 18:12
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.

[Int64] Cannot cast strings with leading zeros to INT64
3 participants