-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Give query case sensitive treatment in query hash #4254
Give query case sensitive treatment in query hash #4254
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for opening this pull request. I've added some comments in case you are interested to follow up on it.
migrations/versions/9aafdb8de771_give_query_case_sensitive_treatment_in_query_hash.py
Outdated
Show resolved
Hide resolved
a691447
to
884e354
Compare
@osule , thanks for the PR! We've updated a lot of things now that we're Community-driven so - if you're still interested in getting this merged - would you mind rebasing off master to re-run the CI? We're trying to clean up our PR todo list, so if you're not interested, that's fine - we'll close the PR in about a week if we don't hear back. If you're interested in reopening the PR afterwards, we would also very much welcome that. |
Looking over this PR, the requested changes were made so it should be ok to approve. Looks like it's not passing our CI tests though, so some tweaking seems like it's still needed. The failing CI seems to be a GitHub Actions infrastructure problem (yet again):
Re-running it should probably fix that. Hopefully the GitHub Actions infrastructure problem is only short lived today... That failure of the
Looking at the details for that failure, it has:
I'm not really sure what to make of it. 😦 @osule If you're interested in taking a look at this, we recently re-created new instructions on how to set up a local development environment + test things: https://github.com/getredash/redash/wiki/Local-development-setup We know for sure those instructions works, as we use them pretty much daily. 😄 |
@justinclift Thanks for trying to get this. |
Generating the query hash from the query text with no lowercasing of the query text allows case-sensitive parameter values in the dashboard to have different cache entries. Fixes getredash#2137
3e20d24
to
59e6099
Compare
Codecov Report
@@ Coverage Diff @@
## master #4254 +/- ##
=======================================
Coverage 59.71% 59.71%
=======================================
Files 151 151
Lines 12261 12261
Branches 1658 1658
=======================================
Hits 7322 7322
Misses 4733 4733
Partials 206 206
|
Thanks heaps for fixing that CI failure @osule. Merging this now. 😄 |
Generating the query hash from the query text with no lowercasing of the query text allows case-sensitive parameter values in the dashboard to have different cache entries. Fixes getredash#2137
What type of PR is this?
Description
Generating the query hash from the query text with no lowercasing of the query text
allows case-sensitive parameter values in the dashboard to have different cache entries.
Related Tickets & Documents
Fixes #2137
Mobile & Desktop Screenshots/Recordings (if there are UI changes)