For OLAP scenarios, There are usually some analytical queries which running time is relatively short. These queries are also sensitive to latency. In the current Blink sql processing, parse/validate/optimize stages are all need meta data from catalog API. But each request to the catalog requires re-run of the underlying meta query.
We may need a cached catalog which can cache the table schema and statistic info to avoid unnecessary repeated meta requests.
I have submitted a related PR for adding a genetic cached catalog, which can delegate other implementations of AbstractCatalog.