unnyns-307 opened a new issue, #21027:
URL: https://github.com/apache/superset/issues/21027

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Go to SQLLab editor 
   2. Connect to MSSQL database connection
   3. Query data with 'DISTINCT' command
   4. See error
   
   ### Expected results
   
   Get data result of unique value normally
   
   ### Actual results
   
   Get this following error:
   > mssql error: (156, b"Incorrect syntax near the keyword 'DISTINCT'.DB-Lib 
error message 20018, severity 15:\nGeneral SQL Server error: Check messages 
from the SQL Server\n")
   
   #### Screenshots
   ![image 
(25)](https://user-images.githubusercontent.com/82924994/183552496-51cb1f0d-267d-4b71-90f1-1cf9ef1d349e.png)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Chrome Version 104.0.5112.81 (Official Build) 
(64-bit)
   - superset version: 2.0.0
   - python version: 3.8.12
   - node.js version:16
   - any feature flags active:
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] 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.
   
   ### Additional context
   
   -
   


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