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

[BugFix] Fix arrow parquet exception handling #25621

Merged

Conversation

letian-jiang
Copy link
Contributor

@letian-jiang letian-jiang commented Jun 20, 2023

Fixes #23606, where memory leaks are introduced by _chunk_writer->release()

The modification on Arrow is to make sure RowGroupSerializer::column_writers_ is cleaned up even if exception throws.

You may refer apache/arrow#35520 for more details.

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr will affect users' behaviors
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 3.1
    • 3.0
    • 2.5
    • 2.4

Signed-off-by: Letian Jiang <[email protected]>
Signed-off-by: Letian Jiang <[email protected]>
Copy link
Contributor

@Smith-Cruise Smith-Cruise left a comment

Choose a reason for hiding this comment

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

put the arrow's commit link is better

@dirtysalt dirtysalt merged commit f610fdf into StarRocks:main Jun 20, 2023
letian-jiang added a commit to letian-jiang/starrocks that referenced this pull request Jun 25, 2023
letian-jiang added a commit to letian-jiang/starrocks that referenced this pull request Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants