Imagine building a data lake on Amazon S3.
Your organization receives millions of records every day:
- Customer registrations
- Orders and payments
- Website clickstream events
- Mobile application activity
- IoT events
- Operational database updates
Initially, everything looks simple.
You store data as Parquet files, register tables in AWS Glue Data Catalog, and query them using Amazon Athena.
But as your platform grows, new questions appear:
- How do you update existing records without rewriting an entire dataset?
- How can multiple pipelines safely write to the same table?
- Can you query previous versions of your data?
- How do you process only changed records?
- What happens when your schema evolves?
Traditional file-based data lakes don't provide all these capabilities by themselves.
This is where open table formats become important.
Three technologies are particularly interesting:
- Apache Iceberg
- Delta Lake
- Apache Hudi
All three bring transactional table-management capabilities to data lakes, but they have different architectural approaches and strengths.
Let's compare them and explore how to use them in an AWS lakehouse.
1. Why Do We Need Open Table Formats?
First, let's understand one important distinction:
Apache Parquet is a file format. Apache Iceberg, Delta Lake, and Apache Hudi are table formats.
Parquet is excellent for analytical storage. It provides columnar organization, compression, and efficient data scanning.
However, Parquet alone doesn't provide a complete transactional table-management system.
Consider this S3 structure:
s3://company-data-lake/ │ ├── customers/ │ ├── part-0001.parquet │ ├── part-0002.parquet │ └── part-0003.parquet │ ├── orders/ │ ├── part-0001.parquet │ └── part-0002.parquet │ └── transactions/ ├── part-0001.parquet └── part-0002.parquet What happens when a customer changes their address?
How do you identify the latest version of the table?
How do you protect readers from seeing partially completed writes?
How do you recover an earlier version of a dataset?
Open table formats introduce metadata and transaction-management layers on top of the underlying files.
Depending on the format and engine, they support:
- ACID transactions
- Schema evolution
- Time travel
- Record-level updates and deletes
- Concurrent write management
- Partition evolution
- Incremental processing
This is one of the fundamental ideas behind a modern lakehouse.
2. Apache Iceberg: Built for Large Analytical Tables
Apache Iceberg is an open table format designed for large analytical datasets and interoperability across processing engines.
Imagine your data engineering team uses Apache Spark, analysts use Amazon Athena, and another team uses Amazon EMR.
You want all these engines to access the same logical datasets without maintaining unnecessary copies.
Iceberg is designed for this type of environment.
How Iceberg works
Iceberg manages table state through metadata files, snapshots, manifest lists, manifests, and data files.
A simplified representation:
ICEBERG TABLE | v Table Metadata | v Snapshot | v Manifest List | v Manifests | v Data Files | v Parquet Files A snapshot represents a particular state of the table.
When a transaction commits successfully, Iceberg updates the metadata describing the new table state.
Readers can access a consistent snapshot while writers prepare changes.
Important Iceberg features
Schema evolution
Suppose your original customer table contains:
customer_id customer_name email Later, the business requests:
phone_number customer_segment Iceberg supports adding, dropping, renaming, and updating columns without requiring a complete rewrite of existing data files for ordinary schema changes.
It uses field IDs to track columns safely.
Partition evolution
Initially, you partition transactions by month:
year=2026/month=01/ year=2026/month=02/ Later, you decide to use daily partitioning.
Iceberg supports evolving partition specifications while retaining compatibility with historical data written under earlier specifications.
Time travel
You can query historical table snapshots, provided the required metadata and data files are still retained.
This is useful for auditing, debugging, and reproducing analytical results.
Hidden partitioning
Iceberg manages partition transformations through table metadata.
For example, you can partition a timestamp column by day without requiring analysts to maintain a separate partition column manually.
Creating an Iceberg table with Amazon Athena
Athena supports creating and querying Apache Iceberg tables.
Example:
CREATE TABLE analytics.customers ( customer_id BIGINT, customer_name STRING, email STRING, customer_segment STRING, created_at TIMESTAMP ) LOCATION 's3://company-data-lake/iceberg/customers/' TBLPROPERTIES ( 'table_type' = 'ICEBERG', 'format' = 'parquet' ); Insert a record:
INSERT INTO analytics.customers VALUES ( 1001, 'Alex Johnson', 'alex@example.com', 'Premium', TIMESTAMP '2026-11-20 10:00:00' ); Update a record:
UPDATE analytics.customers SET customer_segment = 'Enterprise' WHERE customer_id = 1001; Delete a record:
DELETE FROM analytics.customers WHERE customer_id = 1001; These operations require a compatible Athena engine version and appropriate permissions.
When should you choose Iceberg?
Consider Iceberg when:
- Multiple analytical engines need access to shared tables.
- Schema and partition evolution are important.
- You need snapshot-based time travel.
- Your lakehouse supports analytics, reporting, and AI workloads.
- You want an open and interoperable architecture.
3. Delta Lake: Transactional Reliability for Data Pipelines
Now imagine your organization uses Spark-based ETL pipelines.
Every hour, thousands of customer records arrive from operational systems.
Some are new records. Others are updates to existing customers.
You don't want to append duplicate records every time the pipeline runs.
You need reliable merge operations.
This is where Delta Lake becomes attractive.
Delta Lake adds transactional capabilities to data lakes through a transaction log.
How Delta Lake works
A simplified Delta Lake table on S3:
s3://company-data-lake/delta/customers/ │ ├── _delta_log/ │ ├── 00000000000000000000.json │ ├── 00000000000000000001.json │ └── 00000000000000000002.json │ ├── part-00001.parquet ├── part-00002.parquet └── part-00003.parquet The _delta_log directory records table changes.
It tracks operations such as adding files, removing files, updating metadata, and committing transactions.
Readers use the transaction log to determine the correct table state.
Important Delta Lake features
ACID transactions
Delta Lake provides transactional consistency for supported operations, helping readers access committed table states.
MERGE operations
One of Delta Lake's popular capabilities is merging new and updated records into an existing table.
Example:
MERGE INTO customers AS target USING incoming_customers AS source ON target.customer_id = source.customer_id WHEN MATCHED THEN UPDATE SET target.customer_name = source.customer_name, target.email = source.email WHEN NOT MATCHED THEN INSERT ( customer_id, customer_name, email ) VALUES ( source.customer_id, source.customer_name, source.email ); This pattern is useful for incremental ETL and data synchronization.
Time travel
Delta Lake maintains historical table versions through its transaction log.
You can use historical versions to investigate changes and reproduce previous results.
Schema enforcement
Delta Lake can validate incoming data against the table schema and support controlled schema evolution.
This helps prevent unexpected upstream changes from silently corrupting analytical datasets.
Delta Lake on AWS Glue
AWS Glue supports Delta Lake through Spark-based ETL jobs.
A simplified Glue job configuration:
--datalake-formats = delta The exact configuration and supported framework version depend on your AWS Glue release.
When should you choose Delta Lake?
Consider Delta Lake when:
- Your organization already has a Delta Lake ecosystem.
- Your ETL workloads are heavily based on Spark.
- You rely on MERGE operations.
- Transactional updates are important.
- Your team needs reliable incremental data pipelines.
4. Apache Hudi: Designed for Incremental Data Processing
Now consider a different workload.
Your application receives customer updates continuously.
Customers change addresses, update contact details, modify preferences, and place orders.
Rebuilding an entire analytical dataset every time a record changes would be expensive.
You want to process changes incrementally.
This is where Apache Hudi becomes interesting.
Apache Hudi is an open table format focused on incremental data processing, record-level updates, and efficient ingestion.
How Hudi works
Hudi maintains a timeline of table actions and supports two major table types:
- Copy-on-Write (CoW)
- Merge-on-Read (MoR)
Copy-on-Write
With Copy-on-Write, updates are applied by rewriting affected data files.
Existing Parquet Files | v Incoming Updates | v Rewrite Affected Files | v Updated Parquet Files Advantages:
- Simpler read path.
- Analytical engines can read columnar files directly.
- Useful for read-heavy workloads.
Trade-off:
Updates can require rewriting affected data files.
Merge-on-Read
Merge-on-Read uses base files and log files.
Updates can be written to log files and merged with base files during reads or later compaction.
Incoming Updates | v Hudi Log Files | v Base Parquet Files | v Merge During Read | v Current Table View Advantages:
- Lower write amplification for some update-heavy workloads.
- Useful for near-real-time ingestion patterns.
- Provides flexible read and write trade-offs.
Trade-offs:
- Reads may require merging data.
- Compaction needs to be planned.
- Query performance depends on workload and configuration.
Important Hudi features
Upserts
Hudi supports inserting new records and updating existing ones.
This is useful for Change Data Capture (CDC) pipelines.
Incremental queries
Hudi can retrieve changes since a previous commit, reducing the need for downstream pipelines to scan entire datasets repeatedly.
Record-level indexing
Hudi provides indexing mechanisms to locate records and support update operations.
Timeline management
Hudi tracks table actions and commits, helping coordinate writes, compaction, and cleaning.
When should you choose Hudi?
Consider Hudi when:
- You ingest frequent updates and deletes.
- Your architecture is CDC-driven.
- Incremental downstream processing is important.
- You need near-real-time ingestion patterns.
- You want to select between Copy-on-Write and Merge-on-Read behavior.
5. Iceberg vs Delta Lake vs Hudi
Here is a practical comparison:
| Capability | Iceberg | Delta Lake | Hudi |
|---|---|---|---|
| Primary focus | Large analytical tables | Transactional data engineering | Incremental processing |
| Metadata model | Snapshots and manifests | Transaction log | Timeline |
| ACID transactions | Yes | Yes | Yes |
| Time travel | Yes | Yes | Yes |
| Schema evolution | Yes | Yes | Yes |
| Partition evolution | First-class support | Supported | Supported |
| Upserts | Supported | Strong MERGE support | Core capability |
| Incremental processing | Engine-dependent | Supported | Strong incremental query model |
| Streaming workloads | Supported | Supported | Strong focus |
| Multiple-engine interoperability | Strong focus | Engine-dependent | Engine-dependent |
No format wins every category.
The right choice depends on the workload, engine compatibility, operational requirements, and supported features of the versions you deploy.
6. Using Open Table Formats with AWS Services
AWS provides several services that can work with open table formats.
However, support is not identical across every service.
Amazon S3
Amazon S3 provides the underlying object storage.
It can store:
- Iceberg metadata and Parquet files.
- Delta transaction logs and Parquet files.
- Hudi timeline metadata, base files, and log files.
AWS Glue Data Catalog
The Glue Data Catalog provides centralized table definitions and metadata for compatible analytical services.
Each table format also maintains its own metadata structures.
These two layers have related but different responsibilities.
AWS Glue
AWS Glue supports Apache Iceberg, Delta Lake, and Apache Hudi through Spark-based ETL jobs.
Framework versions and configurations depend on the selected Glue release.
Amazon Athena
Athena provides serverless SQL analytics over S3.
Its capabilities differ across formats:
- Iceberg: Supports querying and documented write operations for supported tables.
- Delta Lake: Supports reading native Delta Lake tables, subject to documented limitations.
- Hudi: Supports querying Hudi datasets, but Athena does not provide Hudi table write operations.
Amazon EMR
EMR supports Spark-based processing and is useful for large transformations, custom applications, and advanced data engineering workloads.
AWS Lake Formation
Lake Formation helps manage access to data in the lakehouse.
Fine-grained permissions and supported operations vary by format, engine, and AWS service version.
Always validate the integration before selecting your governance design.
7. Building an AWS Lakehouse Architecture
Let's design a lakehouse for an e-commerce organization.
Data sources include:
- PostgreSQL databases.
- Website clickstream events.
- Mobile applications.
- Payment systems.
- External applications.
A conceptual architecture:
DATA SOURCES | +-------------+-------------+ | | | v v v PostgreSQL Application Website | Events Events | | | v v v AWS DMS Kinesis / MSK | | +-------------+ | v Amazon S3 Raw Data Zone | v AWS Glue ETL / Spark | +-----------+-----------+ | | | v v v Iceberg Delta Hudi Tables Tables Tables | | | +-----------+-----------+ | v AWS Glue Data Catalog | +-----------+-----------+ | | | v v v Athena EMR Redshift | | | +-----------+-----------+ | v Analytics / BI / AI This is a conceptual design. Each table should use a format selected for its workload, with compatible readers and writers.
Bronze Layer: Raw Data
Store incoming data with minimal transformation.
s3://company-lake/bronze/ customers/ orders/ payments/ clickstream/ Possible services:
- AWS DMS
- Amazon Kinesis
- Amazon MSK
- Amazon S3
Silver Layer: Cleaned and Transactional Data
Apply:
- Data cleansing.
- Deduplication.
- Schema validation.
- Upserts.
- Late-arriving record handling.
- Standardization.
This is where open table formats become valuable.
For example:
- Iceberg for shared analytical tables.
- Delta Lake for Spark-centered MERGE workflows.
- Hudi for frequent CDC updates.
Gold Layer: Business-Ready Data
Create curated datasets:
s3://company-lake/gold/ daily_sales/ customer_360/ product_performance/ revenue_summary/ These datasets can support Athena, Redshift, BI tools, and machine learning applications.
8. Which Format Should You Choose?
Here is a simple decision guide.
| Requirement | Starting Point |
|---|---|
| Shared analytical tables across engines | Apache Iceberg |
| Schema and partition evolution | Apache Iceberg |
| Spark-centered MERGE workloads | Delta Lake |
| Existing Delta Lake investment | Delta Lake |
| Frequent CDC updates | Apache Hudi |
| Incremental downstream processing | Apache Hudi |
| Flexible CoW and MoR strategies | Apache Hudi |
These are recommendations, not hard restrictions.
Iceberg can handle update-heavy workloads, Delta Lake supports incremental processing, and Hudi supports analytical workloads.
Always benchmark using your actual data and query patterns.
9. Production Challenges to Consider
Selecting a table format is only the beginning.
A production lakehouse needs ongoing maintenance.
Small files
Frequent writes can generate thousands of small files, increasing metadata overhead and slowing queries.
Plan compaction and file-sizing strategies.
Metadata retention
Snapshots, transaction logs, and historical references need maintenance.
Configure retention carefully. Never manually delete files that may still be referenced by active table metadata.
Concurrent writers
Multiple pipelines may attempt to update the same table.
Understand the concurrency model and implement retries and conflict monitoring.
Schema changes
Upstream applications evolve.
Define schema governance and test compatibility before allowing changes into production.
Engine compatibility
Different query engines support different operations and table format versions.
Maintain a compatibility matrix for every production workload.
Monitoring
Track:
- Failed commits.
- Write conflicts.
- Small file counts.
- Compaction duration.
- Query latency.
- Data freshness.
- Snapshot and log growth.
- Storage consumption.
Use Amazon CloudWatch and your pipeline monitoring tools to make operational problems visible.
10. My Recommendation for AWS Lakehouse Projects
If I were designing a new AWS lakehouse today, I would start with the workload rather than the technology name.
For a shared analytical platform where multiple engines need access to consistent tables, I would evaluate Apache Iceberg first.
For an established Spark-based environment with substantial Delta Lake investment, I would consider Delta Lake.
For CDC-heavy ingestion, frequent updates, and incremental downstream processing, I would evaluate Apache Hudi.
Before making a final decision, I would benchmark:
- Ingestion throughput.
- Upsert performance.
- Query latency.
- Small file generation.
- Compaction overhead.
- Storage consumption.
- Concurrent write behavior.
- Recovery and maintenance effort.
A format that performs well with a small development dataset may behave differently with billions of records.
Final Thoughts
The evolution from traditional data lakes to lakehouse architectures has changed how organizations manage analytical data.
Amazon S3 provides scalable storage.
AWS Glue provides data integration and catalog capabilities.
Amazon Athena and Amazon EMR provide analytical processing.
Open table formats add the transactional and metadata-management capabilities that make these components work together as a more reliable data platform.
Apache Iceberg is a strong candidate for interoperable analytical lakehouses.
Delta Lake is attractive for transactional, Spark-centered data engineering.
Apache Hudi is compelling for incremental ingestion and update-heavy pipelines.
There is no universal winner.
The best format is the one that matches your workload, supports your query engines, protects data correctness, and remains manageable as your platform grows.
The next time you design an Amazon S3 data lake, ask yourself:
Are you just storing files, or are you building a transactional data platform?
That question can shape your entire lakehouse architecture.
Useful Resources
AWS Documentation
- AWS Glue: Data Lake Frameworks
- Apache Iceberg on AWS Glue
- Delta Lake on AWS Glue
- Apache Hudi on AWS Glue
- Amazon Athena: Iceberg Tables
- Amazon Athena: Delta Lake Tables
Open Source Projects
Note: AWS service capabilities depend on the selected engine version, table format version, catalog configuration, and supported operations. Validate compatibility before deploying a production lakehouse.
