-
Notifications
You must be signed in to change notification settings - Fork 58
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
[chore] Use primitive type shortcuts in match arms #356
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #356 +/- ##
==========================================
- Coverage 74.17% 74.15% -0.03%
==========================================
Files 43 43
Lines 8187 8180 -7
Branches 8187 8180 -7
==========================================
- Hits 6073 6066 -7
Misses 1734 1734
Partials 380 380 ☔ View full report in Codecov by Sentry. |
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.
thanks!
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 :)
It looks like codecov is complaining because my changes happened to hit code with poor test coverage. Since there are no functional changes here (compilation suffices) I'm going ahead with merge anyway. |
We already have constants like `DataType::LONG` that can avoid boilerplate like `DataType::Primitive(PrimitiveType::Long)`, and such constants can be used in match arms. Update the code to use them.
)" This reverts commit 4c214c8.
We already have constants like
DataType::LONG
that can avoid boilerplate likeDataType::Primitive(PrimitiveType::Long)
, and such constants can be used in match arms. Update the code to use them.