04cb opened a new pull request, #38488:
URL: https://github.com/apache/superset/pull/38488

   When SQL contains optimizer hints (/*+ ... */) and inline comments (--), 
sqlglot's comment preservation incorrectly injects converted block comments 
inside the hint block, breaking StarRocks/MySQL syntax.
   
   This fix detects optimizer hints in the original SQL and disables comment 
preservation during formatting to prevent the corruption.
   
   Fixes #38189


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