-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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/parser: add sequence_name_list
and view_name_list
#86229
sql/parser: add sequence_name_list
and view_name_list
#86229
Conversation
a7929c0
to
d9122b7
Compare
sequence_name_list
element for DROP SEQUENCE
sequence_name_list
and view_name_list
I'm not certain that this is an improvement. Maybe it is. Who's our parser guru? |
What I do not understand is why the view and sequence types get nice list names in their diagrams, but the |
Oh, I figured it out -- it's here cockroach/pkg/cmd/docgen/diagrams.go Line 863 in 03170d5
I don't know what we want -- should we just not inline |
Choosing to inline something is at writer discretion. See https://cockroachlabs.atlassian.net/wiki/spaces/ED/pages/1134166645/SQL+Grammar+Documentation#Add-or-update-a-SQL-diagram I don't know why those choices were made, as it was before my time. You can revert that if you feel it's appropriate. |
This will hopefully make for better diagrams. Fixes cockroachdb#86059 Release note: None
d9122b7
to
45e777b
Compare
I've removed the inlining. Whether this is an improvement, I don't know. I'll let you @stbof decide or advise on further refinement. |
I'll build the updated diagrams and see how they look. |
TFTR! bors r=stbof |
Build failed (retrying...): |
Build succeeded: |
This will hopefully make for better diagrams.
Fixes #86059
Release justification: docs only change
Release note: None