public Void visitCall(RexCall call) { ++totalCount; if (MULTISET_OPERATORS.contains(call.getOperator())) { if (!call.getOperator().equals(SqlStdOperatorTable.CAST) || isMultisetCast(call)) { ++multisetCount; } } return super.visitCall(call); } }
public Void visitCall(RexCall call) { ++totalCount; if (multisetOperators.contains(call.getOperator())) { if (!call.getOperator().equals(SqlStdOperatorTable.castFunc) || isMultisetCast(call)) { ++multisetCount; } } return super.visitCall(call); } }
if (firstOne.getOperator().equals( SqlStdOperatorTable.castFunc) && !isMultisetCast(firstOne))
if (null != firstOne) { if (firstOne.getOperator().equals(SqlStdOperatorTable.CAST) && !isMultisetCast(firstOne)) { firstOne = null; continue;