You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/10 12:56:00 UTC

[jira] [Commented] (PARQUET-1558) Use try-with-resource in Apache Avro tests

    [ https://issues.apache.org/jira/browse/PARQUET-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814429#comment-16814429 ] 

ASF GitHub Bot commented on PARQUET-1558:
-----------------------------------------

Fokko commented on pull request #634: PARQUET-1558: Use try-with-resource in Apache Avro tests
URL: https://github.com/apache/parquet-mr/pull/634
 
 
   We can use the try-with-resource pattern the implicitly close the resources such as readers and writers, provided by Avro and Parquet. This makes the code more readable since we don't have the `out.close()` everywhere.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Use try-with-resource in Apache Avro tests
> ------------------------------------------
>
>                 Key: PARQUET-1558
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1558
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-mr
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>            Priority: Major
>              Labels: pull-request-available
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)