Github user omalley commented on a diff in the pull request:

    https://github.com/apache/orc/pull/222#discussion_r171720713
  
    --- Diff: java/core/src/java/org/apache/orc/impl/ReaderImpl.java ---
    @@ -472,8 +473,9 @@ public static OrcTail extractFileTail(ByteBuffer 
buffer, long fileLength, long m
             .setPostscript(ps)
             .setFooter(footer)
             .setFileLength(fileLength);
    +      isCodecError = false;
         } finally {
    --- End diff --
    
    try {} finally is pretty broken. You are better off using the 
try-with-resources statement.


---

Reply via email to