robdiciuccio commented on a change in pull request #11704:
URL: 
https://github.com/apache/incubator-superset/pull/11704#discussion_r525360051



##########
File path: superset/jinja_context.py
##########
@@ -266,6 +338,15 @@ class PrestoTemplateProcessor(BaseTemplateProcessor):
 
     engine = "presto"
 
+    def set_context(self, **kwargs: Any) -> None:
+        super().set_context(**kwargs)
+        self._context[self.engine] = {

Review comment:
       Apparently these are meant to be prefixed by engine, eg. 
`presto.latest_partition('my_table')`




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