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

fix(admin): Allow special characters in SYSTEM/OPTIMIZE queries #6680

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

evanh
Copy link
Member

@evanh evanh commented Dec 16, 2024

These queries sometimes have to reference table names or clusters with quotes or other special
characters.

These queries sometimes have to reference table names or clusters with quotes or other special
characters.
@evanh evanh requested a review from a team as a code owner December 16, 2024 20:55
Copy link

sentry-io bot commented Dec 16, 2024

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: snuba/admin/clickhouse/system_queries.py

Function Unhandled Issue
_run_sql_query_on_host InvalidNodeError: host snuba-spans-mz-1-1 and port 9000 are not valid cl...
Event Count: 9

Did you find this useful? React with a 👍 or 👎

@evanh evanh enabled auto-merge (squash) December 16, 2024 20:56
Copy link

codecov bot commented Dec 16, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1 1 0 0
View the top 1 failed tests by shortest run time
::tests.admin.test_system_queries
Stack Traces | 0s run time
No failure message available

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

Copy link
Member

@untitaker untitaker left a comment

Choose a reason for hiding this comment

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

add ``` too?

@evanh evanh merged commit ce8b687 into master Dec 16, 2024
31 checks passed
@evanh evanh deleted the evanh/fix/admin-sudo-mode branch December 16, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants