
Join ERD
A little python app James wrote to better understand all the relationships in the Omni environment.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
for reading yaml uh going through large relationship files it's you know kind of a challenge to search for specific joins or specific paths um so kind of threw together a way to visualize that this is our like internal Omni data um but basically every everything in the relationship file is mapped out so if we look into like the organizations field um can just kind of see all the joins that are going to it or going from it if there were any um can also see aliases so here is like Salesforce user is Alias from it's all the way down here but like the users table um and so this has been pretty useful when like a customer comes with like more or less complex like
where's my where's my field it's not I'm not able to reach it um but this is like the full relationship file so what would be a little more useful is this type of uh visualization which is actually built off the model so anything that's in a topic here have the Salesforce opportunity again this is internal so I don't know if people should see it but um you can do the same thing so the account field everything going to it going from it um and what I like to do is see what's reachable from these fields or from these tables um outside of the topic as well so this isn't just visualizing the the single topic but everything that's reachable um I kind of got the
metadata here for what the joins look like and then also the schema colors because there's a lot of schemas um but yeah maybe maybe this will inspire someone for hack week next week to uh make it make it real or play off of that James where where is this what what is this uh this is just a like a python script that's I think this is writing JavaScript to visualize it but yeah I'm just running it we need python an app now it can probably be converted pretty easily very cool we've talked about python tabs why not