Hi Joel,

Sounds reasonable.
But if Drill checks this TTL property from metadata cache file for every
query and for every file instead of file timestamp, it will not give the
benefit.
I suppose we can add this TTL property to only root metadata cache file and
check it only once per query.

Could you clarify the details, what is the TTL time?
How TTL info could be used to determine whether refresh is needed for the
query?

Kind regards
Vitalii
On Thu, Jul 12, 2018 at 4:40 PM Joel Pfaff <[EMAIL PROTECTED]> wrote: