Skip to content
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

Enable connector to perform materialized view refresh itself #7960

Merged

Conversation

sopel39
Copy link
Member

@sopel39 sopel39 commented May 18, 2021

Introduce ConnectorMetadata#refreshMaterializedView that will
be called when materialized view refresh is delegated to connector.

@cla-bot cla-bot bot added the cla-signed label May 18, 2021
@sopel39 sopel39 force-pushed the ks/refresh_delegate_to_connector branch from 89e229e to d0e5e2e Compare May 18, 2021 13:03
@sopel39 sopel39 force-pushed the ks/refresh_delegate_to_connector branch from d0e5e2e to 4059464 Compare May 26, 2021 13:40
@sopel39 sopel39 requested a review from martint May 26, 2021 13:40
@sopel39 sopel39 force-pushed the ks/refresh_delegate_to_connector branch from 4059464 to 3a88c9c Compare May 26, 2021 13:43
@sopel39
Copy link
Member Author

sopel39 commented Jun 2, 2021

ping @martint

@sopel39 sopel39 force-pushed the ks/refresh_delegate_to_connector branch from 3a88c9c to 21884d5 Compare June 4, 2021 09:53
@sopel39 sopel39 requested a review from martint June 4, 2021 09:53
@sopel39 sopel39 force-pushed the ks/refresh_delegate_to_connector branch 2 times, most recently from 06bfbfe to 996d432 Compare June 4, 2021 16:30
Introduce ConnectorMetadata#refreshMaterializedView that will
be called when materialized view refresh is delegated to connector.
@sopel39 sopel39 force-pushed the ks/refresh_delegate_to_connector branch from 996d432 to 0485780 Compare June 8, 2021 08:06
@sopel39 sopel39 merged commit 869a5b2 into trinodb:master Jun 8, 2021
@sopel39 sopel39 deleted the ks/refresh_delegate_to_connector branch June 8, 2021 08:07
@sopel39 sopel39 mentioned this pull request Jun 8, 2021
13 tasks
@Override
public boolean delegateMaterializedViewRefreshToConnector(ConnectorSession session, SchemaTableName viewName)
{
throw new TrinoException(NOT_SUPPORTED, "This connector does not support dropping materialized views");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should be This connector does not support materialized views in both methods

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

created #8228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants