-
Notifications
You must be signed in to change notification settings - Fork 849
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
Fix DataTypeLayout for LargeList #3503
Conversation
Perhaps there should be some tests for this |
Added some tests for primitive types. |
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.
For nested types like list, I'm thinking how to test it is better.
@@ -803,4 +805,46 @@ mod tests { | |||
let value = IntervalYearMonthType::make_value(-1, -2); | |||
assert_eq!(IntervalYearMonthType::to_months(value), -14); | |||
} | |||
|
|||
fn test_layout<T: ArrowPrimitiveType>() { |
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.
👍
Benchmark runs are scheduled for baseline = ddba53b and contender = 55c87c1. 55c87c1 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Closes #.
Rationale for this change
DataTypeLayout
forLargeList
types usesi32
for byte width incorrectly.What changes are included in this PR?
Are there any user-facing changes?