Skip to content
Data This Week
Go Back

Data This Week #29

5 min read
On this page

Welcome back to Data This Week!

This week’s lineup dives deep into database internals and architectural trends reshaping how we handle data at scale. From DuckDB completely rewriting its SQL parser to the realities of deduplicating event streams you don’t control, the focus is heavily on system architecture. We also look at a fascinating breakdown of how Snowflake executes MERGE commands under the hood.

Here are the top reads, tools, and community discussions for senior data folks this week.

📚 Blogs to Read

DuckDB v2.0: Your Database Deserves a Better Parser

DuckDB is replacing its PostgreSQL-derived SQL parser with a PEG-based (Parsing Expression Grammar) parser in v2.0. This allows runtime extensibility, making it trivial for extensions to add custom syntax — like Google’s pipe query syntax — without rebuilding the core. For teams managing complex SQL dialects or building local development pipelines, this architectural decoupling is a significant upgrade. The new parser is more maintainable, better at surfacing actionable error messages, and opens the door for community-contributed syntax extensions that previously required forking the core project.

Read more →


Robin Moffatt’s monthly roundup highlights major shifts in streaming and analytics. Key takeaways include the graduation of Apache Fluss to a top-level ASF project, Netflix scaling their Ads Event Pipeline with Flink, and the continued dominance of DuckDB and Polars in the local-first analytics space. If you are tracking infrastructure and architectural trends, this is an excellent curated starting point to quickly assess where the ecosystem is heading before diving into individual posts.

Read more →


Transactions in Cassandra

Cassandra is fundamentally changing its consistency model. With the introduction of the ACCORD consensus protocol, developers finally get globally available, ACID-compliant transactions at scale. This eliminates the traditional trade-off between wide-column scalability and strict transactional integrity — a trade-off that has historically forced teams to implement compensating logic in their application layer or accept eventual consistency guarantees. This is a massive architectural shift for distributed database design and worth a close read if you operate Cassandra at any meaningful scale.

Read more →


Migrate Multilingual Full-Text Search from SQL Server to PostgreSQL

Migrating full-text search is never a simple lift-and-shift. This technical guide breaks down why semantically equivalent searches can silently return different results — such as missed accent-sensitive matches — due to fundamental differences in tokenisation and stemming between engines. It covers PostgreSQL text search configurations, unaccent dictionaries, and GIN index implementations in detail, giving you a concrete checklist to validate consistent search behaviour before and after the migration. An essential read for any team moving workloads off SQL Server.

Read more →


How Do You Deduplicate a Stream You Don’t Control?

Handling duplicate events in distributed streams is a classic engineering challenge, and it becomes significantly harder when you do not own the source system. This piece explores stateful deduplication techniques, time-window constraints, and the trade-offs involved in balancing memory overhead against deduplication accuracy. The framing around “streams you don’t control” is particularly useful for teams working with third-party event producers, webhook integrations, or at-least-once delivery guarantees from upstream Kafka topics.

Read more →


The Hidden Joins Behind a Snowflake MERGE Command

A MERGE statement in Snowflake is not a simple upsert — it executes as a series of hidden joins under the hood. If your pipelines are not modelled carefully, this can lead to significant performance bottlenecks or, worse, silent Cartesian explosions when the source dataset contains duplicate keys. This post breaks down the actual execution plan of MERGE commands and provides concrete guidance on how to structure your data models to avoid costly warehouse compute spikes. Required reading if you use MERGE as a core pattern in your Snowflake pipelines.

Read more →


🛠️ Tools

Kafka Simulator

What it is: An interactive visual simulator designed to help engineers understand Kafka internals — including durability guarantees, replication mechanics, and leader election behaviour. It is excellent for debugging cluster behaviours in a safe environment or for onboarding new team members to distributed event streaming concepts without needing to spin up a full Kafka cluster. The visual approach to illustrating ISR (In-Sync Replica) membership and partition leadership changes makes abstract concepts significantly more intuitive.

Explore tool →


petquar

What it is: A blazing-fast Rust/Python CLI tool that visualises Apache Parquet file internals by reading only the footer metadata. Instead of scanning row data, it extracts schema details, row group statistics, column chunk encodings, and bloom filter presence directly from the footer. This makes it ideal for debugging file format issues, validating partition write outputs, or auditing column statistics without incurring the compute overhead of a full file scan.

GitHub →


💬 Community Sentiments

Alternatives for Collibra/Alation for SMEs

Over on r/dataengineering, a lively discussion broke out around enterprise data catalogs being financially out of reach for small and mid-sized teams. The community debated dropping heavyweight tools entirely in favour of customised SharePoint integrations — effectively using structured wikis as lightweight catalogs — or adopting mature open-source alternatives like OpenMetadata and DataHub. The thread is a great reality check on whether your organisation actually needs an enterprise catalog, or whether better engineering discipline around documentation and schema registries would close the gap at a fraction of the cost.

Read more →


That’s all for this week! See you in the next edition.


Keep reading