Value leftCasted = new Value(common);
Value rightCasted = new Value(common);
TExecutionContext execContext = new TExecutionContext(Arrays.asList(lTIns, rTIns), common, qc);
casts.cast(lTIns, common).evaluate(execContext, leftSource, leftCasted);
casts.cast(rTIns, common).evaluate(execContext, rightSource, rightCasted);
return TClass.compare(leftCasted.getType(), leftCasted,
rightCasted.getType(),rightCasted)
== 0;