Menu

How to Delete One Record From a Parquet Table Without Rewriting Everything
📰

How to Delete One Record From a Parquet Table Without Rewriting Everything

#hackernoon#technology#table#deletion#file
Long article (1752 words) — no AI summary yet.
Reading 0:00
15s threshold

A while back I wrote about a service that handles deletion requests for a large data lake, and how we kept a MySQL table from falling over under the weight of its own status updates . I left one thread deliberately unplugged at the end of that piece: how do you actually delete a record from a Hive table when the underlying files are plain Parquet or JSON, formats with no Delete DML to lean on? That's the question I want to answer here.

The problem underneath the problem

This isn't specific to Hive or Parquet. It applies to any storage format that doesn't support row-level DELETE natively, whatever that format happens to be in your environment. Parquet on Hive is simply the concrete case I'm going to walk through, because it's the one we actually run, and it's still extremely common.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.