-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Improve speed when bigquery.case-insensitive-name-matching is enabled #22033
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
Conversation
|
|
| public void createSchema(DatasetInfo datasetInfo) | ||
| { | ||
| bigQuery.create(datasetInfo); | ||
| remoteDatasetIdCache.invalidate(datasetInfo.getDatasetId().getProject()); |
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.
@wendigo @hashhar @nineinchnick I pushed another small commit. Could you please take another look?
hashhar
left a comment
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.
Description
Invalidate remoteDatasetIdCache when after creating or dropping a schema.
This PR improves
SHOW SCHEMASspeed 60 seconds → ~1 second with 75 schemas.Release notes
(x) Release notes are required, with the following suggested text: