def root_tables(self):
    exprs = [arg for arg in self.args if isinstance(arg, ir.Expr)]
    return distinct_roots(*exprs)
def root_tables(self):
    exprs = [arg for arg in self.args if isinstance(arg, ir.Expr)]
    return distinct_roots(*exprs)