pitrou opened a new pull request #11961:
URL: https://github.com/apache/arrow/pull/11961
Some compute function have required options (because there is no reasonable
default value).
Currently they would raise a cryptic error:
```
>>> pc.partition_nth_indices([1,2,3])
Traceback (most recent call last):
...
ArrowInvalid: Attempted to initialize KernelState from null FunctionOptions
```
With this PR, the error becomes slightly more insightful:
```
>>> pc.partition_nth_indices([1,2,3])
Traceback (most recent call last):
...
ArrowInvalid: Function 'partition_nth_indices' cannot be called without
options
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]