Sat.Jun 07, 2025

article thumbnail

CTEs or temp tables for Spark SQL

Start Data Engineering

1. Introduction 2. CTE for short clean code & temp tables for re-usability 2.1. CTEs make medium-complex SQL easy to understand 2.2. Temp table enables you to reuse logic multiple times in a session 2.3. Performance depends on the execution engine 3. Conclusion 4. Recommended reading 1. Introduction As a data engineer, CTEs are one of the best techniques you can use to improve query readability.

SQL 130
article thumbnail

Self-Host and Tech Independence: The Joy of Building Your Own

Simon Späti

Why I self-host my websites, newsletter, and homelab—and the satisfaction that comes from building and using your own digital tools.

Building 302