-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Presto template processor functions are not available in Trino #19400
Comments
@aaronfeng any luck with this? |
@pashkash no, the workaround is to use
but I believe that will scan all partitions. |
Maybe @bkyryliuk @nytai @villebro can confirm if this is an Issue we ought to keep open or close as inactive/deprioritized? |
This is at risk of being closed as stale, but meanwhile, hopefully @dosu-bot can give us a little added insight. |
Hey @rusackas! I'm Dosu, a bot here to assist you with bugs, questions, and contributions while you're waiting for a human maintainer. Let's squash those bugs together! 🤖 To make the Here's how you can set it up:
By following these steps, the |
Hi,
We are in the process of migrating from
Presto
toTrino
and noticed template processor functions don't work withTrino
. We have a lot of datasets usingfirst_latest_partition
function.How to reproduce the bug
Below is working for
presto
driver, however, it doesn't work for Trino.Expected results
Template processor function should also work for Trino.
Actual results
When using Trino driver, an error is thrown because there are not template processor functions for Trino.
https://github.com/apache/superset/blob/master/superset/jinja_context.py#L553
Screenshots
Environment
1.3.0
I looked at master code, it seems like this will also be an issue for
1.4.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: