Skip to content

Remove deprecated legacy like kernels in arrow-string - #9674

Merged
alamb merged 2 commits into
apache:mainfrom
AdamGS:adamg/remove-legacy-like-kernels
May 7, 2026
Merged

Remove deprecated legacy like kernels in arrow-string#9674
alamb merged 2 commits into
apache:mainfrom
AdamGS:adamg/remove-legacy-like-kernels

Conversation

@AdamGS

@AdamGS AdamGS commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

The legacy kernels have been deprecated for 2 years and hidden from docs, and its just more code to build.

What changes are included in this PR?

  1. Removing long deprecated legacy like kernels
  2. Keeps all tests, just folded them into the existing pattern. This also increases the effective coverage - testing scalar comparison both for Utf8 scalars and Dict scalars

Are these changes tested?

No functional changes, but refactors existing tests

Are there any user-facing changes?

Only for users using long hidden and deprecated functions, but I this isn't a meaningfully public API. The functionality is also still available with very minor changes.

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Apr 8, 2026

@alamb alamb 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.

Thanks @AdamGS -- this looks good to me. However, I think since it is technically a breaking API change we should wait for the next major release

@alamb alamb added api-change Changes to the arrow API next-major-release the PR has API changes and it waiting on the next major version labels Apr 8, 2026
@alamb

alamb commented May 7, 2026

Copy link
Copy Markdown
Contributor

All right, main is open for 59 so I took the liberty of merging this up from main to resolve a conflict

@alamb
alamb merged commit e45354a into apache:main May 7, 2026
19 checks passed
Rich-T-kid pushed a commit to Rich-T-kid/arrow-rs that referenced this pull request Jun 2, 2026
# Which issue does this PR close?

- Closes apache#9675 

# Rationale for this change

The legacy kernels have been deprecated for 2 years and hidden from
docs, and its just more code to build.

# What changes are included in this PR?

1. Removing long deprecated legacy like kernels
2. Keeps all tests, just folded them into the existing pattern. This
also increases the effective coverage - testing scalar comparison both
for Utf8 scalars and Dict scalars

# Are these changes tested?

No functional changes, but refactors existing tests

# Are there any user-facing changes?

Only for users using long hidden and deprecated functions, but I this
isn't a meaningfully public API. The functionality is also still
available with very minor changes.

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change Changes to the arrow API arrow Changes to the arrow crate next-major-release the PR has API changes and it waiting on the next major version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

arrow-string has a lot of macro-generated deprecated kernels in like.rs

2 participants