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

ui: disallow VIEW type tables from being shown in the db pages #119890

Merged
merged 1 commit into from Mar 11, 2024

Conversation

xinhaoz
Copy link
Member

@xinhaoz xinhaoz commented Mar 4, 2024

Previously we filtered out SYSTEM VIEW tables from being shown in the db pages but not user created views. We now filter out all VIEW type tables from the db pages.

Epic: none
Fixes: #119789

Release note (bug fix): Users will no longer see VIEW type tables from being shown in the db-console databases pages. Previously these would be listed with no info, only displaying errors.

Before:
boo is a view on foo
Pasted Graphic
Cluster id aa0f4c7e-Sdbb-473f-a92f-5da7d017ecSc

After:
Pasted Graphic 2

Previously we filtered out `SYSTEM VIEW` tables from being shown
in the db pages but not user created views. We now filter out
all VIEW type tables from the db pages.

Epic: none
Fixes: cockroachdb#119789

Release note (bug fix): Users will no longer see VIEW type tables
from being shown in the db-console databases pages. Previously
these would be listed with no info, only displaying errors.
@xinhaoz xinhaoz requested a review from a team as a code owner March 4, 2024 21:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@xinhaoz xinhaoz requested review from a team and dhartunian and removed request for a team March 4, 2024 21:23
@xinhaoz xinhaoz added backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. labels Mar 4, 2024
Copy link
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @xinhaoz)

@xinhaoz
Copy link
Member Author

xinhaoz commented Mar 11, 2024

TFTR!
bors r+

@craig
Copy link
Contributor

craig bot commented Mar 11, 2024

Build succeeded:

@craig craig bot merged commit a8921b7 into cockroachdb:master Mar 11, 2024
17 of 18 checks passed
@xinhaoz xinhaoz deleted the db-page-no-views branch April 1, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui: database tables page shows views
3 participants