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-35015: [Go] Fix parquet memleak #35970

Closed
wants to merge 17 commits into from

Conversation

candiduslynx
Copy link
Contributor

@candiduslynx candiduslynx commented Jun 7, 2023

Rationale for this change

Some memory leaks resulted in partially skipped memory checks in pqarrow package.
This PR brings the checks back.

What changes are included in this PR?

Releases in proper places.

Are these changes tested?

Yes, the tests from #35015 are fully enabled now.

Are there any user-facing changes?

No.

@github-actions
Copy link

github-actions bot commented Jun 7, 2023

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

@candiduslynx candiduslynx force-pushed the fix/parquet/memleak branch 6 times, most recently from 871bd44 to b5612d4 Compare June 7, 2023 15:56
@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jun 7, 2023
@candiduslynx candiduslynx force-pushed the fix/parquet/memleak branch 7 times, most recently from 380bebb to b0fe93b Compare June 7, 2023 16:09
@@ -117,12 +111,25 @@ func (lr *leafReader) LoadBatch(nrecords int64) (err error) {
}
}
}
lr.out, err = transferColumnData(lr.recordRdr, lr.field.Type, lr.descr, lr.rctx.mem)
lr.out, err = transferColumnData(lr.recordRdr, lr.field.Type, lr.descr)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

mem param was unused

@candiduslynx
Copy link
Contributor Author

closed in favor of #35971

abandy added a commit to abandy/arrow that referenced this pull request Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Go][Parquet] Memory leaks in parquet/pqarrow
1 participant