Currently, UNION is implemented as a set operator via CoGroupByKey when a flatten **** distinct will suffice. This also will be compatible with more types of triggers.
Imported from Jira BEAM-3722. Original Jira may contain additional context.
Reported by: kenn.