Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-43996: [Java] Mark new allocated ArrowSchema as released #43997

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

viirya
Copy link
Member

@viirya viirya commented Sep 6, 2024

Rationale for this change

As described in #43996.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@viirya viirya changed the title GH-43996: [JAVA] chore: mark new allocated ArrowSchema as released GH-43996: [JAVA] Mark new allocated ArrowSchema as released Sep 6, 2024
Copy link

github-actions bot commented Sep 6, 2024

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

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Sep 6, 2024
Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

Could we add a unit test?

@github-actions github-actions bot added awaiting merge Awaiting merge awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review awaiting merge Awaiting merge labels Sep 8, 2024
@viirya
Copy link
Member Author

viirya commented Sep 8, 2024

Could we add a unit test?

Sure. I was looking for an existing test file to add test for it, but didn't find one for ArrowArray/ArrowSchema. I will find one or create a new one instead.

Thank you.

@github-actions github-actions bot added Component: Java awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Sep 9, 2024
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting change review Awaiting change review labels Sep 9, 2024
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Sep 10, 2024
@lidavidm
Copy link
Member

Compilation issue?

 Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:testCompile (default-testCompile) on project arrow-c-data: Compilation failure
Error:  /build/java/c/src/test/java/org/apache/arrow/c/ArrowArrayUtilityTest.java:[56,4] error: cannot find symbol
Error:    symbol:   class Snapshot
Error:    location: class ArrowArrayUtilityTest
Error:  -> [Help 1]

@viirya
Copy link
Member Author

viirya commented Sep 10, 2024

Compilation issue?

Yea, fixed it now. I cannot run the test locally so previous commits have some issues.

@lidavidm lidavidm changed the title GH-43996: [JAVA] Mark new allocated ArrowSchema as released GH-43996: [Java] Mark new allocated ArrowSchema as released Sep 10, 2024
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting change review Awaiting change review labels Sep 10, 2024
@lidavidm lidavidm merged commit fed5fcb into apache:main Sep 10, 2024
16 checks passed
Copy link

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

There was 1 benchmark result indicating a performance regression:

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

@viirya
Copy link
Member Author

viirya commented Sep 10, 2024

Thanks @lidavidm

@viirya viirya deleted the init_arrow_schema branch September 10, 2024 15:36
khwilson pushed a commit to khwilson/arrow that referenced this pull request Sep 14, 2024
…ache#43997)

### Rationale for this change

As described in apache#43996.

### What changes are included in this PR?

### Are these changes tested?

### Are there any user-facing changes?

* GitHub Issue: apache#43996

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
zeroshade pushed a commit to zeroshade/arrow that referenced this pull request Sep 30, 2024
…ache#43997)

### Rationale for this change

As described in apache#43996.

### What changes are included in this PR?

### Are these changes tested?

### Are there any user-facing changes?

* GitHub Issue: apache#43996

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
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