Skip to content

Configurable caching? #14

@huw0

Description

@huw0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions