apache / apache/arrow-java

[Java] MapWithOrdinal javadoc doesn't describe actual behaviour

Open
#336 1 comment 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

MapWithOrdinal states that ordinals are recycled when keys are removed, it does not currently do this and grows unbounded

**Reporter**: [Ryan Murray](https://issues.apache.org/jira/browse/ARROW-8947) / @rymurr
#### PRs and other links:
- [GitHub Pull Request apache/arrow#7276](https://github.com/apache/arrow/pull/7276)

**Note**: *This issue was originally created as [ARROW-8947](https://issues.apache.org/jira/browse/ARROW-8947). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start with the MapWithOrdinal Javadoc and review the linked pull request apache/arrow#7276 to understand the intended documentation change. Done means the Javadoc accurately describes whether ordinals are recycled when keys are removed and no longer contradicts the implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.