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

   ### Bug description
   
   I am trying to create a chart that queries a SQL Server instance. To prevent 
excessive resource consumption, I am using the query hint OPTION (MAXDOP 1). It 
works perfectly in SqlLab, but when creating the chart, it triggers the 
following error:
   
   Data error
   Error: (156, b"Incorrect syntax near the keyword 'OPTION'.DB-Lib error 
message 20018, severity 15:\nGeneral SQL Server error: Check messages from the 
SQL Server\n")
   
   Is there anything I can do to overcome this error?
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] 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