GH-34248: [Python] Expose the order_by node#34654
GH-34248: [Python] Expose the order_by node#34654jorisvandenbossche merged 2 commits intoapache:mainfrom
Conversation
aa92b52 to
8672fc5
Compare
AlenkaF
left a comment
There was a problem hiding this comment.
This is very cool =)
I have tried it locally, works great. Can't think of anything to add to the tests.
I am a bit unsure about the reason for the change in CSortKey class though. This class was only used in Select*, Rank* and SortOptions where, I guess, a field reference could have only been a string column name.
In OrderByNodeOptions it can also be an integer, or an expression. Then, I think, this should also be added in the docstrings for other classes that use sort_keys and add this cases to the tests? (maybe not as a part of this PR)
Yeah, this was actually changed a while ago in C++, but the cython bindings exposing it as
Good point. Updated the docstrings and tests |
|
Benchmark runs are scheduled for baseline = 9288275 and contender = 532b9a5. 532b9a5 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
['Python', 'R'] benchmarks have high level of regressions. |
Adds Python bindings for the OrderByNode added in apache#34249 * Closes: apache#34248 Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Adds Python bindings for the OrderByNode added in #34249