I've noticed that the ORDER BY list items within a windowed function do not follow the normal "Place first item on new line" settings. The following query was formatted using the "If there are subsequent items" option:
Note that, though each list item in the PARTITION BY and the final ORDER BY statements are on new lines, the first list value within the windowed function's ORDER BY is still on the original line.
Comments
3 comments
-
Hi a.higgins,
You're right, the option for the first list item should be affecting ORDER BY in a windowed function, so we'll get this fixed for the next release.
Best regards,
David -
Hi a.higgins,
We have put in a fix for this in the latest beta release.
Please let us know if this solves your problem.
Best regards,
David -
The newest release takes care of this, thanks!
Add comment
Please sign in to leave a comment.