-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
[4.0.2] SQL LAB int argument error since version 4 #29853
Comments
The issue with SQL Lab stopping working and the
To resolve the error related to the Here is a general approach to debug and fix the issue:
For example, if you find code like this: value = some_set
result = int(value) You should change it to: value = some_set
if isinstance(value, set):
value = list(value)[0] # or some other logic to extract a single value
result = int(value) Additionally, there are configuration changes and migration steps required when upgrading to version 4.0.2 that could impact SQL Lab functionality. Specifically:
Review the |
Hmm, something seems funny here... if you couldn't run any query in postgres/mysql, there'd be pitchforks and torches out on the streets by now. Can you give an example failing query, preferably using an example dataset? |
@rusackas I do have some custom libs:
|
Bug description
Since upgraded to version 4, currently running 4.0.2, SQL LAB has stop working on all previous functioning database connections, mariadb, postgres and mssql.
How to reproduce the bug
Here's the log:
Screenshots/recordings
Superset version
4.0.2
Python version
3.10
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: