Skip to content

Conversation

@stenlarsson
Copy link
Contributor

@stenlarsson stenlarsson commented Dec 14, 2025

Rationale for this change

The MapLookupOptions class is not available in GLib/Ruby, and it is used together with the map_lookup compute function.

What changes are included in this PR?

This adds the MapLookupOptions class to GLib.

Are these changes tested?

Yes, with Ruby unit tests.

Are there any user-facing changes?

Yes, a new class.

@stenlarsson stenlarsson requested a review from kou as a code owner December 14, 2025 15:39
@github-actions
Copy link

⚠️ GitHub issue #48492 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

Comment on lines 44 to 46
def build_map_with_duplicate_keys
end

Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this?

Suggested change
def build_map_with_duplicate_keys
end

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some leftover from an earlier design, sorry about that.

@stenlarsson stenlarsson force-pushed the glib-map-lookup-options branch from 4986d0d to 18aebf4 Compare December 21, 2025 20:51
@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Dec 21, 2025
@kou kou merged commit 5fbefae into apache:main Dec 22, 2025
13 checks passed
@kou kou removed the awaiting committer review Awaiting committer review label Dec 22, 2025
Jonahkel pushed a commit to Jonahkel/arrow that referenced this pull request Dec 22, 2025
### Rationale for this change

The `MapLookupOptions` class is not available in GLib/Ruby, and it is used together with the `map_lookup` compute function.

### What changes are included in this PR?

This adds the `MapLookupOptions` class to GLib.

### Are these changes tested?

Yes, with Ruby unit tests.

### Are there any user-facing changes?

Yes, a new class.

* GitHub Issue: apache#48492

Authored-by: Sten Larsson <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 5fbefae.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

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.

2 participants