presto-cli/src/main/java/io/prestosql/cli/TableNameCompleter.java/TableNameCompleter/populateCache
class TableNameCompleter:    public void populateCache()
    {
        String schemaName = queryRunner.getSession().getSchema();
        if (schemaName != null) {
            executor.execute(() -> {
                functionCache.refresh(schemaName);
                tableCache.refresh(schemaName);
            });
        }
    }