-
Notifications
You must be signed in to change notification settings - Fork 855
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
Use new DecimalArray creation API in arrow crate #1249
Conversation
fc8ae0b
to
f64a3ea
Compare
t | ||
}) | ||
.collect::<Result<DecimalArray>>()? | ||
// PERF: we could avoid re-validating that the data in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this re-validation occurs in DecimalBuilder as well, so this change isn't worse. I just noticed it while working on the code and figured I would leave a hint for future readers
Codecov Report
@@ Coverage Diff @@
## master #1249 +/- ##
==========================================
- Coverage 83.04% 83.03% -0.02%
==========================================
Files 180 180
Lines 52424 52365 -59
==========================================
- Hits 43537 43479 -58
+ Misses 8887 8886 -1
Continue to review full report at Codecov.
|
f64a3ea
to
11f1832
Compare
FYI @liukun4515 |
I will review this later in this weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for your refactor. @alamb
Thanks @liukun4515 |
Builds on #1223 so draft until that is doneRationale:
#1223 introduces a more performant and idiomatic API for creating
DecimalArray
s thanDecimalBuilder
so update the code to use that.