ori8954 commented on issue #26358:
URL: https://github.com/apache/superset/issues/26358#issuecomment-1871247414

   I would expect to get the latest stable docker image where no version is 
specified, I'm sure it can save trouble for the docker users.
   I found the issue - I'm using SQL Server as a database and I had the 
reserved keyword 'data' in my query. While it runs as expected in the SQL Lab 
it fails to run after saving it as a dataset.
   You can try the following query to reproduce the error:
   
   WITH data AS (
     SELECT 1 AS column_name)
   SELECT *
   FROM data
   
   If I change the name 'data' to another name problem is solved. This query 
gives an SQL error + missing columns error. The  original query I had did not 
give a SQL error
   
   


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