}
}
private SimpleColumn findColumnInEither(String columnName) throws AmbiguousNameException, WrappedException {
if (r1.getTableIfQualifiedNameAndExists(columnName) != null && r2.getTableIfQualifiedNameAndExists(columnName) != null) {
throw new AmbiguousNameException(String.format("The table name '%s' is ambiguous", TableScope.getTableNameIfQualifiedName(columnName)));
}
SimpleColumn matchInLeftState = r1.getColumnIcShdNwrapAmbNindNull(columnName);
if (matchInLeftState != null) {
try {
r2.getColumnIcShdNwrapAmbInd(columnName);
throw new AmbiguousNameException(String.format("The column name '%s' is ambiguous", columnName));
} catch (IndexOutOfBoundsException exc) {
return matchInLeftState;
}
} else {
try {