-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: update grant_table logictests to not cause massive diffs #140278
Conversation
Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
f1c32cc
to
f12d1ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning this up! I have just one nit.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @normanchenn)
pkg/sql/logictest/testdata/logic_test/grant_table
line 24 at r1 (raw file):
# to filter the built-in internal vtables down to just one so that we are not # enumerating all builtins and being overly broad and brittle. query TTTTTTB colnames,rowsort
nit: let's remove rowsort
directives where we now have proper ORDER BY clauses.
Previously, there was no ordering in the grant_table logictest queries, causing any rewrite of these logic tests (i.e. the result of adding types) to result in large diffs. Now, these queries are ordered so the diffs will make more sense. Epic: None Release note: None
f12d1ca
to
a6b6d45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @normanchenn)
Build failed (retrying...): |
Previously, there was no ordering in the grant_table logictest queries, causing any rewrite of these logic tests (i.e. the result of adding types) to result in large diffs. Now, these queries are ordered so the diffs will make more sense.
Epic: None
Release note: None