<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def refresh(self, name, database=None):
 """ Reload HDFS block location metadata for a table, for example after ingesting data as part of an ETL pipeline. Related to INVALIDATE METADATA. See Impala documentation for more. Parameters name : string Table name. Can be fully qualified (with database) database : string, optional """

        # TODO(wesm): can this statement be cancelled?
        stmt = self._table_command('REFRESH', name, database=database)
        self._execute(stmt)