betodealmeida commented on issue #13865:
URL: https://github.com/apache/superset/issues/13865#issuecomment-1005281112


   I tested with a simple query and it worked:
   
   ```sql
   WITH RAW AS (SELECT name, color FROM bart_lines)
   SELECT * FROM RAW
   ```
   
   We've had problems in the past with our SQL parser not being able to 
identify CTEs as `SELECT` statements correctly, and I fixed a few of them 
lately:
   
   - https://github.com/apache/superset/pull/16769
   - https://github.com/apache/superset/pull/17654
   - https://github.com/apache/superset/pull/17329
   
   I suspect the original SQL that triggered this problem fell into this 
category.
   
   @ValentinC-BR I'm going to close the ticket, but feel free to reopen if you 
can still repro it — if I have the SQL of the virtual dataset I can fix it.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to