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

feat: expose DecimalValueFromString #1436

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

laskoviymishka
Copy link
Contributor

Add new constructor for decimals from raw-string representation.

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: #1435

What is the new behavior?

  • new types constructor added DecimalValueFromString

Other information

to construct decimals from raw-string representation.
@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.12%. Comparing base (92f54cf) to head (7747a98).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1436      +/-   ##
==========================================
+ Coverage   65.43%   67.12%   +1.68%     
==========================================
  Files         351      351              
  Lines       36510    36516       +6     
==========================================
+ Hits        23892    24510     +618     
+ Misses      11537    10902     -635     
- Partials     1081     1104      +23     
Flag Coverage Δ
experiment 71.20% <100.00%> (?)
go-1.21.x 67.31% <100.00%> (-0.38%) ⬇️
go-1.22.x 65.11% <100.00%> (-0.18%) ⬇️
go-1.23.x 67.04% <100.00%> (+1.70%) ⬆️
integration 52.10% <0.00%> (-0.39%) ⬇️
macOS 41.00% <100.00%> (-0.02%) ⬇️
ubuntu 71.39% <100.00%> (+2.01%) ⬆️
unit 41.44% <100.00%> (-0.04%) ⬇️
windows 41.44% <100.00%> (-0.03%) ⬇️
ydb-23.3 46.95% <0.00%> (-0.42%) ⬇️
ydb-24.1 51.94% <0.00%> (-0.26%) ⬇️
ydb-nightly 71.20% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@asmyasnikov asmyasnikov merged commit 7f269c8 into ydb-platform:master Sep 4, 2024
40 of 41 checks passed
robot-piglet pushed a commit to doublecloud/transfer that referenced this pull request Sep 5, 2024
Remove kikimr/go/ydb dependency, this one is used only for wierd things, so instead of depended on whole legacy driver just make a copy of required interfaces.

Copy-paste of decimal parser would be removed once this: <ydb-platform/ydb-go-sdk#1436> is released.
2850b0e5f684b6bc933c812440f687cc9245836d
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.

3 participants