You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/11/24 16:59:00 UTC
[jira] [Created] (ARROW-14853) [C++][Python] Cryptic error message when required compute options missing
Antoine Pitrou created ARROW-14853:
--------------------------------------
Summary: [C++][Python] Cryptic error message when required compute options missing
Key: ARROW-14853
URL: https://issues.apache.org/jira/browse/ARROW-14853
Project: Apache Arrow
Issue Type: Bug
Components: C++, Python
Reporter: Antoine Pitrou
This will confuse users:
{code:python}
>>> pc.partition_nth_indices([1,2,3])
Traceback (most recent call last):
File "<ipython-input-5-eba834442d81>", line 1, in <module>
pc.partition_nth_indices([1,2,3])
File "/home/antoine/arrow/dev/python/pyarrow/compute.py", line 202, in wrapper
return func.call(args, options, memory_pool)
File "pyarrow/_compute.pyx", line 327, in pyarrow._compute.Function.call
result = GetResultValue(
File "pyarrow/error.pxi", line 143, in pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status
raise ArrowInvalid(message)
ArrowInvalid: Attempted to initialize KernelState from null FunctionOptions
/home/antoine/arrow/dev/cpp/src/arrow/compute/function.cc:222 kernel->init(&kernel_ctx, {kernel, inputs, options})
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)