ETL Process using DuckDB to Clickhouse

The classic ETL process involves extracting data from the source, storing it in raw format in bucket storage, and then sequentially processing the files before loading them into an analytical database. The transformation of the raw data and loading it into ClickHouse previously took 45 to 60 minutes for 60…

Window functions in PostgreSQL - Part 1

Hi Readers, In this post, we’ll look at how to use PostgreSQL’s window functions instead of GROUP BY to handle calculations directly in your SQL queries. Window functions give you more control and can make your code simpler by reducing the need to do extra processing in your…

Understanding the Power and Problems of Freezing Objects in Rails

What is frozen attributes Frozen is an object or attribute immutable, this means that once an object is frozen, you cannot modify it or its state. When Rails needs to freeze an object, it typically does so by calling freeze on the object or its attributes at appropriate times in…