You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Python] top_k_unstable / bottom_k_unstable raise TypeError on tables when null_placements is omitted #66
This worked before 25.0.0. The null_placements parameter was added in apache#38558 (apache#46926), and the table-like branch now does zip(sort_keys, null_placements) while null_placements defaults to None.
The array branch already uses "at_end", so the table branch should default to "at_end" for every sort key too.
A related problem: if null_placements is shorter than sort_keys, zip
silently drops the extra sort keys.
Reproduced with pyarrow 26.0.1; the same code is on main.
Activity