UNION ALL appends the right bag after the left bag.
duplicates stay
Append both bags
The result has 8 rows.
result rows=8
Set-operation examples are tiny finite bag transforms; SQL dialect details, type coercion, collations, ordering clauses, performance, and product behavior are out of scope.
Read source order
The result order is left source order followed by right source order.