asereda-gs commented on PR #2698:
URL: https://github.com/apache/calcite/pull/2698#issuecomment-1093679798

   @jnturton I believe this should be a question to the dev list.
   
   The correct way is to address resource management issue for all Calcite 
adapters.
   
   Should `Schema` extend `AutoCloseable`? Maybe `SchemaPlus` could expose 
something like 
[Closer](https://guava.dev/releases/snapshot-jre/api/docs/com/google/common/io/Closer.html)
 for child schemas to register for close event.
   
   Perhaps this can be addressed in more elegant way than existing 
implementations.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to