pkdotson commented on a change in pull request #13801:
URL: https://github.com/apache/superset/pull/13801#discussion_r604410333



##########
File path: superset/connectors/sqla/models.py
##########
@@ -833,6 +833,9 @@ def get_rendered_sql(
         """
         Render sql with template engine (Jinja).
         """
+        if not self.sql:
+            return ""

Review comment:
       I think this makes sense. Will try it out and see if this works.




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

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