def _validate(self):
    (left_dtype, right_dtype) = (self.left.type(), self.right.type())
    if (left_dtype != right_dtype):
        raise com.IbisTypeError('Array types must match exactly in a {} operation. Left type {} != Right type {}'.format(type(self).__name__, left_dtype, right_dtype))
def _validate(self):
    (left_dtype, right_dtype) = (self.left.type(), self.right.type())
    if (left_dtype != right_dtype):
        raise com.IbisTypeError('Array types must match exactly in a {} operation. Left type {} != Right type {}'.format(type(self).__name__, left_dtype, right_dtype))