zuzana-vej opened a new issue #11310: URL: https://github.com/apache/incubator-superset/issues/11310
A chart built off of a virtual datasource is erroring saying that the virtual datasource must be readonly but the query is only a select query (it is not modifying any table). It does contain WITH statements, and removing the WITH statements doesn't result in the error. It seems like queries with WITH statements are getting miscategorized as "Readonly". Result: Error thrown: `Virtual dataset query must be read-only` Expected Result: Chart should load Looks like regression caused by https://github.com/apache/incubator-superset/pull/11236#issuecomment-710669738 ### Environment (please complete the following information): - superset version: master ### Checklist 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 there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org