Habeeb556 opened a new issue, #31183:
URL: https://github.com/apache/superset/issues/31183

   ### Bug description
   
   After upgrade from` 4.0.1` to` 4.1.1` I encountered an issue with permission 
   
   ```
   DB engine Error
   You may have an error in your SQL statement. Unable to parse script
   ```
   
   This error occurred for users to whom I assigned specific permissions on the 
`dbo` schema only. When I changed the permissions to full access for the entire 
database, the issue was resolved. I noticed that this problem only happens with 
the `mssql.py` engine, while the others (MySQL, PostgreSQL, and Oracle) are 
working fine.
   
   Log:
   
   `WARNING:superset.sql_parse:Unable to parse SQL (Dialects.TSQL): 
Template(body=[Output(nodes=[TemplateData(data='SELECT ...')])])`
   
   ### Screenshots/recordings
   
   
![image](https://github.com/user-attachments/assets/0a63a19b-9df5-4b23-b82d-646f9f7cdfa0)
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.11
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Not applicable
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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