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

Support querying public ToolsDB databases #26

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Support querying public ToolsDB databases #26

merged 2 commits into from
Oct 12, 2023

Conversation

siddharthvp
Copy link
Collaborator

Treat db names containing double underscores (__) and ending in _p as ToolsDB databases.

This is one feature that Superset may never support, so would make sense having in Quarry.

Bug: T151158
(https://phabricator.wikimedia.org/T151158)

Treat db names containing double underscores (`__`) and ending in `_p` as ToolsDB databases.

This is one feature that Superset may never support, so would make sense having in Quarry.

Bug: T151158
(https://phabricator.wikimedia.org/T151158)
Copy link
Collaborator

@audiodude audiodude left a comment

Choose a reason for hiding this comment

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

This looks technically sound. However, I'm worried about the database access. Are we sure that we have a database user for Quarry that explicitly has read-only access to the toolforge databases?

@audiodude
Copy link
Collaborator

Added a minor formatting change to fix the mypy error in CI.

@siddharthvp
Copy link
Collaborator Author

Are we sure that we have a database user for Quarry that explicitly has read-only access to the toolforge databases?

It should be easy for a Toolforge admin to set one up. Opened https://phabricator.wikimedia.org/T348407.

@siddharthvp siddharthvp merged commit efe953e into main Oct 12, 2023
1 check passed
@siddharthvp siddharthvp deleted the toolsdb branch October 12, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants