The current translation of nullableA == B is nullableA = B AND nullableA IS NOT NULL.
Similarly, nullableA != B is translated to nullableA <> B OR nullableA IS NULL.
This causes the duplication of the nullableA expression.
Alternative translations that could avoid this issue are CASE WHEN nullableA == b THEN TRUE ELSE FALSE END / CASE WHEN nullableA == b THEN FALSE ELSE TRUE END.
The current translation of
nullableA == BisnullableA = B AND nullableA IS NOT NULL.Similarly,
nullableA != Bis translated tonullableA <> B OR nullableA IS NULL.This causes the duplication of the
nullableAexpression.Alternative translations that could avoid this issue are
CASE WHEN nullableA == b THEN TRUE ELSE FALSE END/CASE WHEN nullableA == b THEN FALSE ELSE TRUE END.