def METHOD_NAME(self, database, table):
    cache_key = str(self.db.db_url) + str(database) + str(table)
    if (
        cache_key not in self.cached_data
        or time.time() - self.cached_data[cache_key]["time"] > self.freeze_time
    ):
        columns, description = query_and_fetch(
            self.db,
            "select column_name, data_type, '' from v_catalog.columns where table_schema='%s' and table_name='%s' order by 1"
            % (database, table),
        )
        list_of_columns = [
            {
                "comment": col[2] and col[2].strip(),
                "type": col[1],
                "name": col[0] and col[0].strip(),
            }
            for col in columns
        ]
        VerticaAssist.cached_data[cache_key] = {
            "time": time.time(),
            "result": list_of_columns,
        }
        VerticaAssist.cache_use_stat["query"] += 1
    else:
        VerticaAssist.cache_use_stat["cache"] += 1
    return VerticaAssist.cached_data[cache_key]["result"]