-
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: Add information_schema.statistics #10220
Conversation
Thanks for putting this together! I have a few comments, but the general approach looks good. Review status: 0 of 2 files reviewed at latest revision, 9 unresolved discussions, all commit checks successful. pkg/sql/information_schema.go, line 410 at r1 (raw file):
Lets move this up to be in lexicographical order. pkg/sql/information_schema.go, line 421 at r1 (raw file):
Why the quotes? pkg/sql/information_schema.go, line 430 at r1 (raw file):
pkg/sql/information_schema.go, line 432 at r1 (raw file):
Use pkg/sql/information_schema.go, line 432 at r1 (raw file):
nit: The comments has traditionally had a space after pkg/sql/information_schema.go, line 447 at r1 (raw file):
We have a line length limit of 100 characters. pkg/sql/information_schema.go, line 447 at r1 (raw file):
See pkg/sql/information_schema.go, line 449 at r1 (raw file):
This deserves a quick comment. Something like "We add a row for each..." pkg/sql/testdata/information_schema, line 667 at r1 (raw file):
Comments from Reviewable |
pkg/sql/information_schema.go, line 421 at r1 (raw file):
|
pkg/sql/testdata/information_schema, line 667 at r1 (raw file):
|
ad83e3a
to
25627f7
Compare
other than the one final comment. Thanks! Review status: 0 of 2 files reviewed at latest revision, 8 unresolved discussions, all commit checks successful. pkg/sql/information_schema.go, line 321 at r2 (raw file):
"for each stored column" also, punctuation is needed here and above. Comments from Reviewable |
25627f7
to
63dabbe
Compare
#8675 add information_schema.statistics table.
This change is