// long by FarragoOJRexBinaryExpressionImplementor or
// FarragoOJRexUnaryExpressionImplementor. This feels like two
// different patterns are being used to maintain type consistency
// meet at this point.
if (SqlTypeUtil.isInterval(call.getOperands()[0].getType())) {
OJClass retTypeOjClass =
OJUtil.typeToOJClass(
retType,
translator.getFarragoTypeFactory());
OJClass clazz = null;
try {
clazz = source.getType(retTypeOjClass.getEnvironment());
} catch (Exception e) {
}
if (retTypeOjClass.equals(clazz)) {