apache/incubator-superset


















[SQLLab] Allow common table expressions (CTE), a.k.a. "with" statements #3998
rumbin posted onGitHub
Make sure these boxes are checked before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if any
- I have reproduced the issue with at least the latest released version of superset
- I have checked the issue tracker for the same issue and I haven't found one similar
Superset version
0.20.6
Expected results
CTEs can be used within SQLLab
Actual results
Only 'SELECT' statements are allowed against this database
Steps to reproduce
Run the following query in SQLLab (here: PostgreSQL syntax):
with common_table as (
select 1 as mycol
)
select
*
from common_table