deephaven / deephaven-core

Deephaven Community Core
Other
257 stars 80 forks source link

fix: For iceberg test failures with unclosed ResolvingFileIO instance #6217

Closed malhotrashivam closed 1 month ago

malhotrashivam commented 1 month ago

Fix for nightly job failures which look like

[Finalizer] WARN org.apache.iceberg.io.ResolvingFileIO - Unclosed ResolvingFileIO instance created by:  
    org.apache.iceberg.io.ResolvingFileIO.<init>(ResolvingFileIO.java:77)   
    io.deephaven.iceberg.TestCatalog.IcebergTestTable.io(IcebergTestTable.java:223) 
    io.deephaven.iceberg.util.IcebergCatalogAdapter.readTableInternal(IcebergCatalogAdapter.java:812)   
    io.deephaven.iceberg.util.IcebergCatalogAdapter.readTable(IcebergCatalogAdapter.java:656)   
    io.deephaven.iceberg.util.IcebergToolsTest.testReorderedPartitioningColumn(IcebergToolsTest.java:479)