<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute_stats(self, name, database=None, incremental=False):
 """ Issue COMPUTE STATS command for a given table Parameters name : string Can be fully qualified (with database name) database : string, optional incremental : boolean, default False If True, issue COMPUTE INCREMENTAL STATS """

        maybe_inc = 'INCREMENTAL ' if incremental else ''
        cmd = 'COMPUTE {0}STATS'.format(maybe_inc)

        stmt = self._table_command(cmd, name, database=database)
        self._execute(stmt)