Replies: 1 comment
-
This is a good discussion topic! There are a few things we can use templates for:
So my initial view is that we should try and get as far as we can with:
Are there cases which won't work with that? How important is protecting against injection issues? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if this feature, which is included for dbt, is planned to be maintained even if dbt side supports PRQL and the replacement by jinja is done before PRQL is converted to SQL.
prql/book/src/integrations/dbt.md
Lines 115 to 117 in 5280161
Because I remembered that the R package glue also had the ability to process SQL templates and realized that it could be combined with this.
https://glue.tidyverse.org/reference/glue_sql.html
(Once after dbt can work well without relying on it) I am not sure this needs to exist as a feature of the PRQL language, but I also find it an interesting feature to be able to combine with existing template engines.
Might be worth mentioning on pages other than dbt integration.
Beta Was this translation helpful? Give feedback.
All reactions