code: def invalidate_metadata(self, name=None, database=None):
          
          stmt = 'INVALIDATE METADATA'
          if name is not None:
              stmt = self._table_command(stmt, name, database=database)
          self._execute(stmt)
docs: Issue INVALIDATE METADATA command, optionally only applying to a
          particular table. See Impala documentation.
  
          Parameters
          ----------
          name : string, optional
            Table name. Can be fully qualified (with database)
          database : string, optional