https://dagster.io/ logo
#data-platform-design
Title
# data-platform-design
h

Hui Zheng

01/16/2023, 10:33 PM
have anyone tried this with Dagster? https://prql-lang.org/ dbt is powerful and we use it heavily now. With Dagster, I could see a future without the need of dbt DAG. one other benefit of dbt is the SQL + jinja, just curious if there is a nice way to write those super-charged SQL transformation easily in Dagster without dbt.
z

Zach P

01/16/2023, 10:52 PM
Nothing is preventing you from using Jinja w/o dbt :) that being said prql does look quite cool! Lots of tools are coming up to enable lots of plug and play b/w databases and compute engines I'm quite excited for it.
z

Zach

01/17/2023, 1:12 AM
you might enjoy reading through this - https://github.com/stkbailey/dagster-jaffle-shop
👍 1
I'd imagine you could template PRQL very similarly to what @Stephen Bailey is doing in his example
s

Stephen Bailey

01/17/2023, 12:03 PM
yeah @Hui Zheng, the real interesting thing if you go down this path is that you realize how much dbt handles for you in the development process for you, since it just looks at the SQL files. But you can absolutely create a similar system, where your Dagster job could look at a set of PRQL files, or whatever, and compiles them at runtime, and you rarely have to change the actual Dagster Python, and instead just work with the YAML. Honestly it blows my mind all the cool pseudo-products you could build with Dagster-as-a-platform. I am personally waiting for someone to port all the Datahub scrapers into Dagster.
👀 4
h

Hui Zheng

01/30/2023, 5:24 PM
Thank you for all the great input. I will do more research. appreciate it!
34 Views