final RelDataType leftColType = validateUsingCol(id, left); final RelDataType rightColType = validateUsingCol(id, right); if (!SqlTypeUtil.isComparable(leftColType, rightColType)) { throw newValidationError(id, RESOURCE.naturalOrUsingColumnNotCompatible(id.getSimple(), final RelDataType rightColType = nameMatcher.field(rightRowType, name).getType(); if (!SqlTypeUtil.isComparable(leftColType, rightColType)) { throw newValidationError(join, RESOURCE.naturalOrUsingColumnNotCompatible(name,
for (int i : operandList) { if (prev >= 0) { if (!SqlTypeUtil.isComparable(types[i], types[prev])) { if (!throwOnFailure) { return false;
for (int i : operandList) { if (prev >= 0) { if (!SqlTypeUtil.isComparable(types[i], types[prev])) { if (!throwOnFailure) { return false;
for (int i : operandList) { if (prev >= 0 && i != operandList.get(operandList.size() - 1)) { if (!SqlTypeUtil.isComparable(types[i], types[prev])) { if (!throwOnFailure) { return false;
for (int i : operandList) { if (prev >= 0 && i != operandList.get(operandList.size() - 1)) { if (!SqlTypeUtil.isComparable(types[i], types[prev])) { if (!throwOnFailure) { return false;
if (!isComparable(pair.left.getType(), pair.right.getType())) { return false;
if (!isComparable(pair.left.getType(), pair.right.getType())) { return false;
final RelDataType leftColType = validateUsingCol(id, left); final RelDataType rightColType = validateUsingCol(id, right); if (!SqlTypeUtil.isComparable(leftColType, rightColType)) { throw newValidationError(id, RESOURCE.naturalOrUsingColumnNotCompatible(id.getSimple(), final RelDataType rightColType = nameMatcher.field(rightRowType, name).getType(); if (!SqlTypeUtil.isComparable(leftColType, rightColType)) { throw newValidationError(join, RESOURCE.naturalOrUsingColumnNotCompatible(name,
final RelDataType leftColType = validateUsingCol(id, left); final RelDataType rightColType = validateUsingCol(id, right); if (!SqlTypeUtil.isComparable(leftColType, rightColType)) { throw newValidationError(id, RESOURCE.naturalOrUsingColumnNotCompatible(id.getSimple(), final RelDataType rightColType = nameMatcher.field(rightRowType, name).getType(); if (!SqlTypeUtil.isComparable(leftColType, rightColType)) { throw newValidationError(join, RESOURCE.naturalOrUsingColumnNotCompatible(name,
if (!isComparable(pair.left.getType(), pair.right.getType())) { return false;