Published inData Engineer’s NotesNull-safe comparison: IS DISTINCT/NOT DISTINCT FROMI’ve been working for surprisingly long with SQL to have found this only a few days ago. Not long enough I guess 🤓.May 6May 6
Published inData Engineer’s NotesTransforming cumulative sums into monthly valuesHere’s a quick BigQuery SQL exercise. I often work with cumulative aggregations, but it’s not every day that I need to reverse…Mar 27Mar 27
Published inData Engineer’s NotesA quick walkthrough BigQuery Remote FunctionsIn a previous post, I mentioned Remote Functions-a powerful way to send data from BigQuery to an external service for processing…Mar 8Mar 8
Published inData Engineer’s NotesChange history in BigQueryEver needed to track what changed in a table and when? In data engineering, this is known as Change Data Capture (CDC)-a fundamental…Mar 62Mar 62
Published inData Engineer’s NotesA quick overview of BigQuery functionsWhen we talk about functions in BigQuery, we’re referring to several distinct capabilities.Mar 2Mar 2
Published inData Engineer’s NotesExpressing multiple repeated joins as a correlated subqueryIn yesterday’s post, we looked at retrieving information from a table by joining it multiple times-each with different join criteria. This…Feb 231Feb 231
Published inData Engineer’s NotesRevisiting GROUP BY ROLLUP with a more realistic exampleEver had a random piece of knowledge from school suddenly click in a real-world scenario?Feb 223Feb 223
Published inData Engineer’s NotesRevisiting Why SQL’s Order of Execution MattersA few days ago I thought that the following SQL query would not work- I expected the window function result would be summed multiple times.Feb 21Feb 21
Published inData Engineer’s NotesExploring the BigQuery Query HistoryHere’s a BigQuery trick I use all the time-seriously, not saying this to make my post catchier 😁.Feb 19Feb 19
Published inData Engineer’s NotesHow ARRAY() can function as UNPIVOT and UNNEST as PIVOT?I’ve come across this SQL transformation multiple times, and it’s an interesting two-way problem.Feb 13Feb 13