springle commented on issue #1502:
URL: https://github.com/apache/iceberg/issues/1502#issuecomment-797603522


   From what I can understand, the child `Table` object is created with the 
catalog before [initializing the Spark 
writer](https://github.com/apache/iceberg/blob/master/spark2/src/main/java/org/apache/iceberg/spark/source/IcebergSource.java#L93),
 and then the reference to the catalog is lost (and sometimes GC'd, closing the 
connection pool in Hive's case). Who should own this reference - the 
`IcebergSource`, the `Writer`?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to