Skip to content

Commit 258ee14

Browse files
committed
update
1 parent 0943a33 commit 258ee14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,10 +1820,10 @@ public void end(Map<String, String> extraMetaData) throws IOException {
18201820
byte[] footerBytes = buffer.toByteArray();
18211821

18221822
try {
1823+
state = state.end();
1824+
18231825
out.write(footerBytes);
18241826
out.flush();
1825-
1826-
state = state.end();
18271827
this.footer = localFooter;
18281828
} finally {
18291829
close();

0 commit comments

Comments
 (0)