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

[Issue] Parquet file not closed when new parquet file being created. #122

Open
hash-data opened this issue Mar 5, 2025 · 0 comments
Open
Labels
bug Something isn't working good second issue after you have solved good first issue

Comments

@hash-data
Copy link
Collaborator

Description

When a new Parquet writer is created, the previous Parquet file is not closed. This can lead to potential errors if there are open files that are not actively being written.

Impact

  • Unclosed files may lead to resource exhaustion.
  • Errors can occur when switching between different Parquet files or partitions.
  • Potential data corruption or loss if files remain open unexpectedly.

Expected Behavior

  • When a new Parquet writer is created, the previous one should be properly closed before switching.
  • Inactive Parquet files should not cause errors if they are not actively being written.

Possible Solution

  • Ensure that before creating a new writer, the existing one is explicitly closed.
@hash-data hash-data added bug Something isn't working good second issue after you have solved good first issue labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good second issue after you have solved good first issue
Projects
None yet
Development

No branches or pull requests

1 participant