fix(mssql): apply top after distinct#23751
Conversation
Codecov Report
@@ Coverage Diff @@
## master #23751 +/- ##
==========================================
- Coverage 68.12% 67.87% -0.25%
==========================================
Files 1922 1924 +2
Lines 74104 74381 +277
Branches 8101 8106 +5
==========================================
+ Hits 50481 50486 +5
- Misses 21545 21818 +273
+ Partials 2078 2077 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Could this be tagged for 2.1.1? |
| }); | ||
|
|
||
| it('should open Explore on dataset name click', () => { | ||
| xit('should open Explore on dataset name click', () => { |
There was a problem hiding this comment.
This test has become super flaky lately, and even after restarting cypress 11 times it's still failing.
Sure, adding the tag now |
|
@villebro There is an English copy of that support article available as well ... I think those support articles all got messed up when Microsoft switched from having the 'KB' numbers as part of their support URLs to just having more SEO-friendly URL paths some years back .... |
|
Thanks @cwegener 👍 |
(cherry picked from commit 764c3c9)
(cherry picked from commit 764c3c9)
(cherry picked from commit 764c3c9)
(cherry picked from commit 764c3c9)
SUMMARY
This places the DISTINCT keyword before TOP to comply with the dialect specifications. Check this random dialect spec in German for how DISTINCT and TOP work together: https://support.microsoft.com/de-de/office/pr%C3%A4dikate-all-distinct-distinctrow-top-24f2a47d-a803-4c7c-8e81-756fe298ce57
Ping @sfirke
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION