public RelDataType inferReturnType(SqlOperatorBinding opBinding) { SqlCallBinding callBinding = (SqlCallBinding) opBinding; ExplicitOperatorBinding newOpBinding = new ExplicitOperatorBinding( opBinding, collectOperandTypes( callBinding.getValidator(), callBinding.getScope(), callBinding.getCall())); return SqlTypeStrategies.rtiNullableBoolean.inferReturnType(newOpBinding); }
public RelDataType inferReturnType(SqlOperatorBinding opBinding) { SqlCallBinding callBinding = (SqlCallBinding) opBinding; return callBinding.getValidator().getNamespace(callBinding.getCall()).getRowType(); }