Example #1
0
 protected virtual BoundRelation RewriteUnionRelation(BoundUnionRelation node)
 {
     return(node.Update(node.IsUnionAll,
                        RewriteRelations(node.Inputs),
                        RewriteUnifiedValues(node.DefinedValues),
                        node.Comparers));
 }
 protected virtual void VisitUnionRelation(BoundUnionRelation node)
 {
     foreach (var input in node.Inputs)
     {
         VisitRelation(input);
     }
 }
 protected override void VisitUnionRelation(BoundUnionRelation node)
 {
     _diagnostics.ReportCteContainsUnion(_syntax.Name);
     base.VisitUnionRelation(node);
 }