Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
UnionAll 从其每一项输入中读取行并将这些行输出,而不管是否有重复项。该算法用于实现 UNION 和 UNION ALL 子句。在 UNION 子句中,需要使用重复排除算法(如 HashDistinct 或 OrderedDistinct)来删除 UnionAll 所生成的任何重复项。
请参见HashDistinct 算法 (DistH)和OrderedDistinct 算法 (DistO)。