How to use views for debugging tools to save time

10 points by chris_penner


coxley

I've worked at a company that heavily uses BigQuery, and creating user-defined functions (UDFs) for debugging is extremely helpful. Especially as analytical data tends to spread in many different places, with complex ways to query the information you need.

vlnn

While it's a nice technique (which is creating SQL views to simplify day-to-day work) it's also something pointing in one of pains of traditional SQL DB projects — that is how uncomfortable for querying are databases with proper normalization. I like noSQL exactly for that, and sometimes use duckdb to store one big messy table and don't care about joins (if it fits into memory that is). For me multi-join queries are close to old-perl-write-only-code level of misery, and not that fun as old-perl-write-only-code.