Skip to content

Prevent COMMENT ON TABLE statement for view and materialized view#13161

Merged
ebyhr merged 2 commits intotrinodb:masterfrom
ebyhr:ebi/comment-table-on-view-mview
Jul 13, 2022
Merged

Prevent COMMENT ON TABLE statement for view and materialized view#13161
ebyhr merged 2 commits intotrinodb:masterfrom
ebyhr:ebi/comment-table-on-view-mview

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Jul 13, 2022

Description

Prevent COMMENT ON TABLE statement for view and materialized view.
The similar logic exists in RenameTableTask & DropTableTask.

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we say the operation is not supported on MVs ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not very convinced that saying that the operation is not supported on MV is really necessary.

@ebyhr ebyhr force-pushed the ebi/comment-table-on-view-mview branch from f5a7317 to c6da479 Compare July 13, 2022 10:53
@findinpath findinpath self-requested a review July 13, 2022 11:05
@ebyhr ebyhr requested a review from Praveen2112 July 13, 2022 11:39
@ebyhr
Copy link
Copy Markdown
Member Author

ebyhr commented Jul 13, 2022

CI hit #13165

@ebyhr ebyhr merged commit ca7dcaa into trinodb:master Jul 13, 2022
@ebyhr ebyhr deleted the ebi/comment-table-on-view-mview branch July 13, 2022 12:40
@github-actions github-actions bot added this to the 390 milestone Jul 13, 2022
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.

3 participants