You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Light-City (via GitHub)" <gi...@apache.org> on 2024/11/08 03:32:17 UTC
[I] [C++] Fix PartitionSort example. [arrow]
Light-City opened a new issue, #44677:
URL: https://github.com/apache/arrow/issues/44677
### Describe the bug, including details regarding any error messages, version, and platform.
```
/// For example:
///
/// in_arr: [5, 7, 2, 3, 5, 4]
/// num_prtns: 3
/// prtn_id_impl: [&in_arr] (int row_id) { return in_arr[row_id] / 3; }
/// output_pos_impl: [&out_arr] (int row_id, int pos) { out_arr[pos] = row_id; }
///
```
output should be:
```
/// out_arr: [2, 0, 3, 4, 5, 1]
/// prtn_ranges: [0, 1, 5, 6]
```
but now is:
```
/// out_arr: [2, 5, 3, 5, 4, 7]
/// prtn_ranges: [0, 1, 5, 6]
```
out_arr value is row id not actual value.
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Fix PartitionSort example. [arrow]
Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
mapleFU commented on issue #44677:
URL: https://github.com/apache/arrow/issues/44677#issuecomment-2466805785
Issue resolved by pull request 44678
https://github.com/apache/arrow/pull/44678
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Fix PartitionSort example. [arrow]
Posted by "mapleFU (via GitHub)" <gi...@apache.org>.
mapleFU closed issue #44677: [C++] Fix PartitionSort example.
URL: https://github.com/apache/arrow/issues/44677
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org