def drop_table_or_view(self, name, database=None, force=False):
        try:
            self.drop_table(name, database=database)
        except Exception as e:
            try:
                self.drop_view(name, database=database)
            except:
                raise e
Attempt to drop a relation that may be a view or table
dataset/ETHPy150Open cloudera/ibis/ibis/impala/client.py/ImpalaClient.drop_table_or_view