-
Notifications
You must be signed in to change notification settings - Fork 245
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: add max length statistics to VariableWidth Datablock #3082
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3082 +/- ##
==========================================
+ Coverage 77.31% 77.33% +0.01%
==========================================
Files 240 240
Lines 79322 79396 +74
Branches 79322 79396 +74
==========================================
+ Hits 61326 61399 +73
- Misses 14821 14824 +3
+ Partials 3175 3173 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
"Expected Stat::MaxLength to be {:?} for data block generated from array: {:?}", | ||
expected_max_length, | ||
string_array, | ||
); |
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.
Super minor nit but I find this to be a bit redundant. You are calling assert_eq
and therefore it should already be clear what was expected. I think custom error messages are only really requires when they add surprising or unexpected context.
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, fixed.
max length statistics can be used to for encoding selection of Variable-Width-Datablock(string, binary, etc.)