-
Notifications
You must be signed in to change notification settings - Fork 715
fix: capital stream can't search #4978
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
Conversation
WalkthroughThe pull request introduces modifications to the Changes
Possibly related PRs
Suggested labels
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)src/service/search/cluster/flight.rs (1)Pattern Make sure the responses are not too verbose and keep the suggestions to the point i.e. actionable. 🔇 Additional comments (1)src/service/search/cluster/flight.rs (1)
The change correctly wraps stream names in double quotes, which fixes SQL syntax issues with capital letters and will also handle special characters in stream names. Let's verify there are no other unquoted stream names in SQL queries: ✅ Verification successfulThe search results show that the unquoted identifiers found are all related to Let's verify if there are any other potential cases specifically in the search/cluster code where stream names might be used unquoted: Stream name quoting is consistently implemented The verification confirms that stream names are properly quoted in SQL queries throughout the codebase. The only instance found in the search/cluster code already uses proper quoting with 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for SQL queries that might contain unquoted stream names
rg -U 'SELECT .+ FROM ["]*[A-Z][a-zA-Z0-9_]*[^"]'
Length of output: 1112 Script: #!/bin/bash
# Search specifically in search/cluster directory for potential SQL queries with FROM clauses
rg -U 'FROM\s+([^"\s]+)' src/service/search/cluster/
Length of output: 153 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
ralted to #4979 |
fixed #4980
Summary by CodeRabbit
New Features
Bug Fixes
Refactor