Describe the bug, including details regarding any error messages, version, and platform.
ParquetRewriter.getFileReaders opens each input reader into a local list. If opening a later input throws IOException, the exception is propagated without closing readers already opened for earlier inputs. Because construction fails, callers cannot close those readers, which leaks their input streams.
Expected behavior: readers opened before the failure are closed before the setup exception is propagated.
Component(s)
Core
Describe the bug, including details regarding any error messages, version, and platform.
ParquetRewriter.getFileReadersopens each input reader into a local list. If opening a later input throwsIOException, the exception is propagated without closing readers already opened for earlier inputs. Because construction fails, callers cannot close those readers, which leaks their input streams.Expected behavior: readers opened before the failure are closed before the setup exception is propagated.
Component(s)
Core