-
Notifications
You must be signed in to change notification settings - Fork 251
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 typo of calculating offsets for slicing index #206
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ ScanBatch ScanBatch::Slice(int64_t off, int64_t length) const { | |
auto sliced_batch = batch->Slice(off, length); | ||
decltype(indices) sliced_indices; | ||
if (indices) { | ||
sliced_indices = std::dynamic_pointer_cast<::arrow::Int32Array>(indices->Slice(offset, length)); | ||
sliced_indices = std::dynamic_pointer_cast<::arrow::Int32Array>(indices->Slice(off, length)); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not a blocker for this PR but should we go with the convention to add an There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This I am fine to work on it after the release. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added #207 to follow up with the remaining concerns. |
||
} | ||
return ScanBatch(sliced_batch, batch_id, offset, sliced_indices); | ||
} | ||
|
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.
Change CMakeFile to allow python side to build
ReleaseWithDebugInfo
mode , easier to see call stack.