Skip to content

GH-55762: [C++][Python][Docs] Add missing compute functions to docs - #55786

Open
rajbhatt2406-collab wants to merge 2 commits into
apache:mainfrom
rajbhatt2406-collab:docs-55762-compute-functions
Open

rajbhatt2406-collab wants to merge 2 commits into
apache:mainfrom
rajbhatt2406-collab:docs-55762-compute-functions

Conversation

@rajbhatt2406-collab

@rajbhatt2406-collab rajbhatt2406-collab commented Nov 25, 2026 •

Copy link
Copy Markdown

Rationale for this change

Some compute functions were missing from the Apache Arrow C++ and Python documentation. This PR adds the missing documentation entries.

What changes are included in this PR?

  • Added dictionary_decode to C++ compute documentation.
  • Added run_end_encode and run_end_decode to C++ compute documentation.
  • Added utf8_normalize to C++ compute documentation.
  • Added search_sorted to Python compute API documentation.

index_in_meta_binary and is_in_meta_binary are excluded because their rename work is still pending.

Are these changes tested?

  • Ran git diff --check successfully.
  • Documentation build/tests were not run.

Are there any user-facing changes?

No functional or API changes. Only documentation has been updated.

Was AI used for this PR?

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

GitHub Issue: #55762

@tadeja

tadeja commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

@rajbhatt2406-collab you'd need to update your PR description using PR template.
Also edit title to start with GH-55762: instead of MINOR: - see: Contributing Overview - pull request.

@tadeja tadeja changed the title MINOR: Add missing compute functions to docs GH-55762: [C++][Python][Docs] Add missing compute functions to docs Nov 26, 2026
@rajbhatt2406-collab

Copy link
Copy Markdown
Author

Hi, I've updated the PR description according to the contribution guidelines and PR template. Thank you for the feedback!

@tadeja
tadeja marked this pull request as ready for review November 27, 2026 13:00
Copilot AI balanced review requested due to automatic review settings November 27, 2026 13:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@tadeja
tadeja requested a balanced review from Copilot November 27, 2026 16:43

This comment was marked as duplicate.

Comment thread docs/source/cpp/compute.rst Outdated
Comment on lines +1436 to +1438
| run_end_decode | Unary | Run-end encoded | Input type | | |
+-----------------+------------+--------------------+------------------+--------------------------------+-------+
| run_end_encode | Unary | Boolean, Null, | Run-end encoded | :struct:`RunEndEncodeOptions` | |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two may better fit under the Associative transforms table. Perhaps replace Input type with Encoded value type? Also, Nested types list includes Unions which doesn't seem to fit run_end_encode.

Comment thread docs/source/python/api/compute.rst Outdated
Comment on lines +555 to +556
select_k_unstable
search_sorted

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be reordered alphabetically.
Also SearchSortedOptions needs to be added to ComputeOptions below.

Comment thread docs/source/cpp/compute.rst Outdated
| dictionary_encode | Unary | Boolean, Null, Numeric, | Dictionary | \(1) |
| | | Temporal, Binary- and String-like | | |
+-------------------+-------+-----------------------------------+-------------+-------+
| dictionary_decode | Unary | Dictionary | Input type | \(4) |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like column Options class should be added here for the missing

:struct:`DictionaryEncodeOptions`

@rajbhatt2406-collab

Copy link
Copy Markdown
Author

Hi, I've addressed all the requested changes and pushed the updates. Please take a look. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants