opensource-observer / oso

Measuring the impact of open source software
https://opensource.observer
Apache License 2.0
73 stars 16 forks source link

Dagster + SQLMesh Metrics: Run sqlmesh python models on trino #2444

Closed ravenac95 closed 3 days ago

ravenac95 commented 2 weeks ago

What is it?

The second part of a set of issues for getting Dagster + SQLMesh Metrics running. This is to get sqlmesh running the python models on trino. If, somehow, this is performant enough without any additional work to run the metrics with the special pre-warmed duckdb as a cache + rolling query runner, then we can still accomplish all the metrics work without as much time spent developing a more complex option.

ravenac95 commented 2 weeks ago

Sadly, after having spent quite a few hours on this (there were some setup things to fix and then bugs in the python models). running this with just the python models as is on trino is still not enough. Some observations when running

Places we will go from here to explore (still not using duckdb):

ravenac95 commented 3 days ago

Closing as the work in #2469 started as this but ended up encompassing more