-
Notifications
You must be signed in to change notification settings - Fork 751
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
refactor(query): first check privilege in SystemEngine get_full_data #16421
Conversation
`mget_id_value_compat([names])` fetch a list of `name->id->value` from meta-service with exact 2 mget() operations. This method can be used to optimize batch get operations. For example to get a list of `(DatabaseNameIdent, DatabaseId, DatabaseMeta)`. This method requires the id type to be a `Id<xxxId>` type. - Part of databendlabs#16421
`mget_id_value_compat([names])` fetch a list of `name->id->value` from meta-service with exact 2 mget() operations. This method can be used to optimize batch get operations. For example to get a list of `(DatabaseNameIdent, DatabaseId, DatabaseMeta)`. This method requires the id type to be a `Id<xxxId>` type. - Part of databendlabs#16421
c95b1c3
to
0706eb9
Compare
`mget_id_value_compat([names])` fetch a list of `name->id->value` from meta-service with exact 2 mget() operations. This method can be used to optimize batch get operations. For example to get a list of `(DatabaseNameIdent, DatabaseId, DatabaseMeta)`. This method requires the id type to be a `Id<xxxId>` type. - Part of #16421
ee2fc51
to
523e73b
Compare
523e73b
to
2f36862
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.
Reviewed 10 of 17 files at r2, 3 of 5 files at r3, all commit messages.
Reviewable status: 12 of 19 files reviewed, all discussions resolved
Cc @wubx You can test show columns with this optimize. |
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.
LGTM 🚀
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Optimize:
in system table engine , we can only get database that current user can be visibility.
Tests
Type of change
This change is