Skip to content

[Python] Hide hash_* functions from pyarrow.compute #29552

@asfimport

Description

@asfimport

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?

Reporter: Weston Pace / @westonpace
Assignee: Alessandro Molina / @amol-

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-13943. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions