You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "Fokko Driesprong (Jira)" <ji...@apache.org> on 2024/05/15 05:53:00 UTC

[jira] [Updated] (PARQUET-2472) Close resources in finally block in ParquetFileWriter#end

     [ https://issues.apache.org/jira/browse/PARQUET-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fokko Driesprong updated PARQUET-2472:
--------------------------------------
    Fix Version/s: 2.0.0

> Close resources in finally block in ParquetFileWriter#end
> ---------------------------------------------------------
>
>                 Key: PARQUET-2472
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2472
>             Project: Parquet
>          Issue Type: Bug
>    Affects Versions: 1.14.0
>            Reporter: Amogh Jahagirdar
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> ParquetFileWriter#end currently will write out the footer and then do the close. However, the close is not within a finally block so it's technically possible that something fails within the footer write and we don't free up resources.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org