human
Solve the following python programming problem given the following code:
def _check_impala_output_types_match(self, table) : 
    query = to_sql (table) 
    t = self.con.sql (right) 
    def _clean_type(x) : 
        if isinstance (x, Category) : 
            x = x.to_integer_type () 
return x 
(left, right) = (t.schema (), table.schema ()) 
    for (i, (n, l, r)) in enumerate (zip (left.names, left.types, right.types)) : 
        l = _clean_type (l) 
        r = _clean_type (r) 
        if (l != r) : 
            pytest.fail ('Value for {0} had left type {1} and right type {2}'.format (n, l, r)) 

    
    

    Fix the buggy line: t = self.con.sql (right)
assistant
#Here is Python program to fix the buggy line: t = self.

t = self.con.sql (query)