/*
** Check type compatability. We want to make sure that
** the types are assignable in either direction
** and they are comparable.
*/
ClassFactory cf = getClassFactory();
if (
!thisExpr.getTypeCompiler().storable(otherTypeId, cf) &&
!otherExpr.getTypeCompiler().storable(thisTypeId, cf))
{
throw StandardException.newException(SQLState.LANG_NOT_UNION_COMPATIBLE,