protected override void VisitSortRelation(BoundSortRelation node)
        {
            if (node.IsDistinct)
            {
                _diagnostics.ReportCteContainsDistinct(_syntax.Name);
            }

            base.VisitSortRelation(node);
        }
 protected virtual void VisitSortRelation(BoundSortRelation node)
 {
     VisitRelation(node.Input);
 }
示例#3
0
 protected virtual BoundRelation RewriteSortRelation(BoundSortRelation node)
 {
     return(node.Update(node.IsDistinct,
                        RewriteRelation(node.Input),
                        RewriteComparedValues(node.SortedValues)));
 }