You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "heronshoes (via GitHub)" <gi...@apache.org> on 2023/03/03 09:31:30 UTC
[GitHub] [arrow] heronshoes opened a new issue, #34425: [GLib] Add support for RankOptions
heronshoes opened a new issue, #34425:
URL: https://github.com/apache/arrow/issues/34425
### Describe the enhancement requested
### Describe the enhancement requested
#### Target option
RankOptions
#### Proposed feature
Add support for RankOptions.
#### Impact of this request
It will be used in rank();
```
rank(input, {sort_keys=[], null_placement=AtEnd, tiebreaker=First}):
Compute numerical ranks of an array (1-based)
----
This function computes a rank of the input array.
By default, null values are considered greater than any other value and
are therefore sorted at the end of the input. For floating-point types,
NaNs are considered greater than any other non-null value, but smaller
than null values. The default tiebreaker is to assign ranks in order of
when ties appear in the input.
The handling of nulls, NaNs and tiebreakers can be changed in RankOptions.
```
Currently, only the default option is available from Ruby.
#### Reference of this request
https://arrow.apache.org/docs/cpp/api/compute.html#_CPPv4N5arrow7compute11RankOptionsE
### Component(s)
GLib, Ruby
--
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
[GitHub] [arrow] kou closed issue #34425: [GLib] Add support for RankOptions
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #34425: [GLib] Add support for RankOptions
URL: https://github.com/apache/arrow/issues/34425
--
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
[GitHub] [arrow] heronshoes commented on issue #34425: [GLib] Add support for RankOptions
Posted by "heronshoes (via GitHub)" <gi...@apache.org>.
heronshoes commented on issue #34425:
URL: https://github.com/apache/arrow/issues/34425#issuecomment-1455353488
Thanks!
--
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