GH-45190: [C++][Compute] Add rank_quantile function#45259
GH-45190: [C++][Compute] Add rank_quantile function#45259pitrou merged 8 commits intoapache:mainfrom
Conversation
|
@zanmato1984 @jorisvandenbossche Do you want to take a look at this? Naming-wise, I hesitated between "rank_percentile" and "percentile_rank". I chose the former for better tab-completion. |
|
Update 2: Oops, sorry I think my original question remains: if
, then shall we name it |
|
|
|
Hi @pitrou , I want to suggest a refinement that simplifies the code structure of your current pr. I think the best way to show it is via actual code changes, so may I open up a pr targeting your branch? Thanks. |
|
Yes, you can! |
af782d4 to
4fd918a
Compare
|
Seems the latest force push doesn't include the changes I've made. Anything wrong? :) |
|
Hmm, that's weird. I might have messed things up, let me take a look... |
4fd918a to
880b7a5
Compare
|
Ok, this is fixed :) |
880b7a5 to
5cc6b50
Compare
5cc6b50 to
8c59c76
Compare
0dc9ebf to
3997d5f
Compare
|
This is good to go at any time. |
|
Yes, I was hoping for opinions on the general idea and API, but perhaps we can simply merge. |
|
Sorry I did not comment sooner but I think the idea and API are great. If anything, it could be simpler to remove the factor and just leave it to the end user to specify that, but I don't think it's a big deal either way |
|
You can keep this open as long as you feel necessary for more ideas or comments. I was just saying I have no more to comment :) |
Co-authored-by: Rossi Sun <zanmato1984@gmail.com>
3997d5f to
d8c7858
Compare
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 17a0ff5. There were 18 benchmark results indicating a performance regression:
The full Conbench report has more details. It also includes information about 491 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
Add a "rank_quantile" function following the Wikipedia definition:
https://en.wikipedia.org/wiki/Percentile_rank
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes, an additional compute function.