DingZhengCN commented on issue #33838:
URL: https://github.com/apache/superset/issues/33838#issuecomment-3082223798

   Solution:
   
   append follow codes to config.py:
   
   ```
   from sqlglot import expressions
   from sqlglot.generator import Generator
   
   # Monkey patch sqlglot to register OnCluster expression
   if not hasattr(Generator, "PROPERTIES_LOCATION"):
       Generator.PROPERTIES_LOCATION = {}
   
   Generator.PROPERTIES_LOCATION[expressions.OnCluster] = "COMMAND"
   ```


-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to