In #11 and CLAUDE.md in-memory caching is mentioned.
Does metadata need to be more configurable so that this can be refreshed whenever git is synced to storage without a Trino restart?
I'd propose that metadata refresh could be strictly time based. However when doing a SELECT, if the view isn't in the cache, the connector would still attempt to look it up from storage? This ensures that queries will continue to work even when the cache is stale.
The standard Trino JDBC connectors work in this way by allowing 'hidden' tables to be retrieved that aren't present in the metadata.
In #11 and
CLAUDE.mdin-memory caching is mentioned.Does metadata need to be more configurable so that this can be refreshed whenever git is synced to storage without a Trino restart?
I'd propose that metadata refresh could be strictly time based. However when doing a SELECT, if the view isn't in the cache, the connector would still attempt to look it up from storage? This ensures that queries will continue to work even when the cache is stale.
The standard Trino JDBC connectors work in this way by allowing 'hidden' tables to be retrieved that aren't present in the metadata.