We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our query parser is unable to detect the following valid SELECT statement:
WITH my_table AS ( SELECT * FROM public.cleaned_sales_data ) SELECT * FROM my_table
On SQL Lab, it throws Only SELECT statements are allowed against this database.
Only SELECT statements are allowed against this database
1 - Go to SQL Lab and try to execute the query 2 - Check the error message
master / latest-dev
3.9
16
Chrome
The error comes from:
superset/superset/sql_parse.py
Line 926 in 0286650
The text was updated successfully, but these errors were encountered:
#28145 is related I think, as applying the sql_parse.patch resolved this error for me.
sql_parse.patch
Sorry, something went wrong.
betodealmeida
No branches or pull requests
Bug description
Our query parser is unable to detect the following valid SELECT statement:
On SQL Lab, it throws
Only SELECT statements are allowed against this database
.How to reproduce the bug
1 - Go to SQL Lab and try to execute the query
2 - Check the error message
Screenshots/recordings
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
The error comes from:
superset/superset/sql_parse.py
Line 926 in 0286650
Checklist
The text was updated successfully, but these errors were encountered: