You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Alessandro Molina (Jira)" <ji...@apache.org> on 2021/11/04 16:38:00 UTC
[jira] [Comment Edited] (ARROW-13943) [Python][C++] Hide hash_*
functions from pyarrow.compute
[ https://issues.apache.org/jira/browse/ARROW-13943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438825#comment-17438825 ]
Alessandro Molina edited comment on ARROW-13943 at 11/4/21, 4:37 PM:
---------------------------------------------------------------------
Is the {{Function::kind()}} available to pyarrow? It seems that comparing that to {{Function::HASH_AGGREGATE}} might be a way to filter those
was (Author: amol-):
Is the {{Function::kind()}} available to pyarrow? It seems that comparing that to {{Function::SCALAR, Function::VECTOR, Function::SCALAR_AGGREGATE}} might be a way to filter those
> [Python][C++] Hide hash_* functions from pyarrow.compute
> --------------------------------------------------------
>
> Key: ARROW-13943
> URL: https://issues.apache.org/jira/browse/ARROW-13943
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Reporter: Weston Pace
> Priority: Major
>
> These functions have been specifically forbidden from being called by python. An attempt to do so will yield:
> pyarrow.lib.ArrowNotImplementedError: Direct execution of HASH_AGGREGATE functions
> The functions should not show up in pc.list_functions at all and pc.get_function should return None if given 'hash_sum'. Perhaps they could be stored in a different registry? Or, since we are special casing them anyways, special case them in some way they can be hidden?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)