-
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
Query Search is broken #6381
Comments
Thanks @gaecoli. 😄 |
I will try to fix it! |
Hello there o/ |
I believe the underlying cause is upgrading sqlalchemy-searchable without adding a migration to add the new required custom sql functions. I've just run this manually and things seem to be fixed. I'm not sure the exact right way to handle this for new installs vs upgrades however:
Figured this out based on this thread: falcony-io/sqlalchemy-searchable#67 and then looking at the expressions.sql file for the pinned version of sqlalchemy-searchable: https://github.com/falcony-io/sqlalchemy-searchable/blob/1.2.0/sqlalchemy_searchable/expressions.sql |
Thanks @azundo that's AWESOME! We had to upgrade SQLAlchemy-searchable (no real choice) in order to fix some important security issues (part of a chain of dependencies), and to get that working in short order we just "made it work" in a temporary way with a plan to look at it again properly later. ... which we've not gotten to yet. 😇 We should try turning that code into a proper migration (via PR), and test it out. Sounds like a fairly good starting point anyway. Actually, are you any good with creating PR's and similar? If you want to throw that into a suitable PR that'd be welcome too. If not, we can do it. 😄 |
PR is here: #6491 |
Issue Summary
After upgrading to Redash with Python 3.8, search cannot be used.
Steps to Reproduce
/queries
pageTechnical details:
Here are the logs from webserver pod:
The text was updated successfully, but these errors were encountered: