@Override public void close() throws IOException { if (closed) { return; } closed = true; stats.updateSizeInBytes(-previouslyRecordedSizeInBytes); previouslyRecordedSizeInBytes = 0; flushStripe(CLOSED); orcDataSink.close(); }
@Override public void close() throws IOException { if (closed) { return; } closed = true; stats.updateSizeInBytes(-previouslyRecordedSizeInBytes); previouslyRecordedSizeInBytes = 0; flushStripe(CLOSED); orcDataSink.close(); }