justinpark commented on PR #33341:
URL: https://github.com/apache/superset/pull/33341#issuecomment-3721633474

   >  I am testing this feature now. The slider for formatted vs. original is 
greyed out and nothing happens when I click on it. Is this intended behavior, 
maybe because my data warehouse is Microsoft SQL Server (MSSQL) and it lacks 
some features? As a user I am trying to understand this. 
   
   @sfirke I just saw your question now. To answer: the "format SQL" feature 
uses the formatting function provided by sqlglot. Currently, sqlglot does not 
have a dedicated dialect for MSSQL, so formatting is based on T-SQL. However, 
some syntax is not correctly recognized in this process, which causes parsing 
errors and may result in the SQL not being formatted/rendered properly.


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