You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/11/30 21:50:00 UTC
[jira] [Updated] (ARROW-14853) [C++][Python] Cryptic error message when required compute options missing
[ https://issues.apache.org/jira/browse/ARROW-14853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weston Pace updated ARROW-14853:
--------------------------------
Labels: Kernels (was: )
> [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
> Priority: Major
> Labels: Kernels
>
> 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)