Tobiko reposted this
One of the most rewarding things about open source is when someone builds something amazing based off of your work. Nico Ritschel has created a demo (https://lnkd.in/gy5HhXET) of how SQLMesh's semantic layer can be used within a Postgres proxy. Meaning, you can query metrics through a Postgres cli and it will automatically rewrite, query, and return data! When we first started brain storming ideas for Tobiko, we thought about building out a semantics layer. But I quickly realized that semantics layers depend on robust transformation. Without good data, you cannot have good metrics. So instead of immediately jumping into metrics, we built out SQLMesh, trying to build the best transformation framework possible. During the process, I decided to build out a SQL based metrics system (https://lnkd.in/g_XzU69r) based on my experience working on Airbnb's Minerva (https://lnkd.in/gcGQiGXq). I managed to build a purely SQL based definition framework and a simple rewriter that can handle automatic joins in a couple weeks. Although I built that prototype and published it, we decided not to continue working on it because it wasn't the main focus of our company. But eventually, we'll come back to it and ship a real product. Nonetheless, it's fun to see a community member take our prototype and take it one step further. I hope to see this spark some discussion about what semantics layers built on top of SQLMesh could look like. #dataengineering #metrics