Support PLAN and ORDER BY on MERGE
The MERGE statement now supports the PLAN and ORDER BY clauses.
MERGE INTO target [[AS] target_alias] USING <source> [[AS] source_alias] ON <join_condition> <merge_when> [<merge_when> ...] [PLAN <plan-expr>] [ORDER BY <ordering-list>] [RETURNING <returning_list> [INTO <variables>]]