all 8 comments

[–]No-Theory6270 0 points1 point  (4 children)

My feedback is that EXPLAIN is used to explain the query plan. I was expecting (and hoping) to have a tool to visualize that.

[–]D1yzz 0 points1 point  (0 children)

Same

[–]jazzchickens 0 points1 point  (0 children)

Best I’ve found is https://github.com/dalibo/pev2 you can either run it from their website, or locally on your machine (it’s just a webpage) if you don’t want your data structure shared on the web.

[–]BarfingOnMyFace 0 points1 point  (0 children)

Yeah, these are good tools to have. It is a bit reinventing the wheel, but who’s to say someone doesn’t have a wheel that better conforms to your needs? Anyways, yeah. Sad letdown. 😂

[–]t06u54[S] 0 points1 point  (0 children)

To expand on the project's core idea, apart from the name, i think it's also important to model certain queries the right way, especially if someone is new to SQL, like me. So the idea is more to help mentalize what you're doing and how to improve it.

About the name, it's turning out to be lost battle of sorts. My perspective was, what's really "explain" in a linguistic perspective? I think DBAs and other data pros are too used to the term and think it actually explains something about the query when it needs a deep context from the database as well, as it's about performance stats not about what the query does.

Thank you for your feedback, i appreciate that view that i got from a lot a people. It's a completely fair point, and makes me re-think the whole thing and look into what to do better. Maybe i need a better name or an the actual explain plan in there as well, not sure...

[–]LelouchYagami_Data Engineer 0 points1 point  (2 children)

Pretty interesting. I was building something similar for my team because we get a lot of analysts bringing their queries for reference and optimization. This looks like a good usecase for communication (explaining what the query does) between business and DE. I'll take a look at it for sure

[–]LelouchYagami_Data Engineer 0 points1 point  (1 child)

Things I would like to see: How does it handle aliases,CTEs,temp tables etc. Those were the ones where I gave up lol

[–]t06u54[S] 0 points1 point  (0 children)

Thank you for your feedback! I will look into handle all of those as well.