Hi Thomas,

Schema#getTableNames is mainly used in SQL validating phase. You do not
need to call it manually.

Thomas Wang <[email protected]> 于2022年12月26日周一 11:08写道:

> Hi Calcite community:
>
> I see in the code that JdbcSchema.getTable(String name) is using a local
> cached variable tableMap. I'm wondering under what circumstances, this
> local variable gets refreshed? Based on the code comment, it seems the
> variable is refreshed when Jdbc.getTableNames() is called, but I didn't
> find anywhere in the codebase where JdbcSchema.getTableNames() is called.
> Do I need to manually call this method to refresh? Thanks.
>
> Thomas
>


-- 

Best,
Benchao Li

Reply via email to