UNSUPPORTED_MERGE_CONDITION error class

SQLSTATE: 42K0E

MERGE operation contains unsupported <condName> condition.

AGGREGATE

Aggregates are not allowed: <cond>.

NON_DETERMINISTIC

Non-deterministic expressions are not allowed: <cond>.

SUBQUERY

Subqueries are not allowed: <cond>.