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); }
protected virtual BoundRelation RewriteSortRelation(BoundSortRelation node) { return(node.Update(node.IsDistinct, RewriteRelation(node.Input), RewriteComparedValues(node.SortedValues))); }