Skip to content

[C++] Document and rename is_in_meta_binary #29839

Open

Description

@asfimport

The is_in_meta_binary and index_in_meta_binary functions do not have any "_doc" elements. I had simply ignored them assuming they were some kind of specialized function that shouldn't be exposed for general consumption (see ARROW-13949) but I recently discovered they are legitimate binary variants of their unary counterparts.

If we want to continue to expose these functions we should rename them (meta I assume means meta function but the python/r user has no idea what a meta function is) and add _doc elements.

Reporter: Weston Pace / @westonpace

Related issues:

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

Activity

  1. asfimport commented on Oct 8, 2021

    @asfimport
    Author

    Weston Pace / @westonpace:
    Also, we will need to add them to compute.rst

  2. asfimport commented on Nov 23, 2021

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    The docstrings have been added in ARROW-14751 but the rest of this issue still holds.

  3. faze-geek commented on Sep 9, 2026

    @faze-geek

    take

    Hi @pitrou, this is my first time contributing to this project so I start with a good-first-issue !

    I confirmed that current main still registers is_in_meta_binary and index_in_meta_binary. My understanding is that the documentation portion was completed, while the public registry names still expose the internal “meta” terminology.

    Before implementing, could you confirm whether is_in_binary and index_in_binary sound like the intended names, and whether the old registry names should remain as deprecated aliases or be removed?

  4. pitrou commented on Sep 9, 2026

    @pitrou
    Member

    Before implementing, could you confirm whether is_in_binary and index_in_binary sound like the intended names, and whether the old registry names should remain as deprecated aliases or be removed?

    Judging by code search results on GH, I think we should keep compatibility aliases to the old names.

    And, yes, is_in_binary and index_in_binary sound like the right names. We already have round_binary which follows the same pattern:

    >>> pc.round
    <function pyarrow.compute.round(x, /, ndigits=0, round_mode='half_to_even', *, options=None, memory_pool=None)>
    >>> pc.round_binary
    <function pyarrow.compute.round_binary(x, s, /, round_mode='half_to_even', *, options=None, memory_pool=None)>
  5. added 3 commits that reference this issue on Sep 13, 2026
  6. added
    Status: confirmed
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Component: C++Status: confirmedType: buggood-first-issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions