DEV Community

Damien Gallagher
Damien Gallagher

Posted on

S3 Tables PutRows: Stream Rows Into Iceberg, and What the 80% Really Means

TL;DR

  • S3 Tables now has a PutRows API: send rows (JSON or Avro) straight into an Iceberg table with one call. No streaming compute, no compaction jobs.
  • For teams streaming events into Iceberg who currently run a pipeline to do it.
  • Announced 29 Nov 2026, available in 20 Regions including Ireland, London and Frankfurt.
  • Price: $0.01 per GB of uncompressed data ingested in most Regions, plus normal S3 Tables charges.
  • Watch: "up to 80% lower" is against building your own, and AWS doesn't publish the baseline.
  • My view: a good default for append-only event data. Test the limits before betting a pipeline on it.

Contents


What launched

On 29 November 2026 AWS announced direct streaming ingestion for S3 Tables. The new PutRows API lets applications, devices and services write rows into an Apache Iceberg table. AWS says rows become queryable in about a minute. The docs say typically within a minute, and as little as 10 seconds for high-throughput workloads.

Item Detail
Announced 29 Nov 2026
Status Launched, no preview label in the announcement
Formats JSON (newline-delimited) and Avro OCF
Freshness Typically within a minute, as little as 10 seconds at high throughput
Table requirements Iceberg format v2 or v3, schema defined, no Iceberg table encryption
Regions 20, including Ireland, London, Paris, Frankfurt, Spain, Stockholm, N. Virginia, Ohio, Oregon, Tokyo, Sydney, Sao Paulo
Query engines Redshift, Spark, DuckDB, any Iceberg engine

The full Region list is in the setup page. GovCloud and China are not on it.


How it works

You send a request with one or more rows. PutRows checks every row against the table's current schema. If one row is bad, the whole request is rejected and nothing is stored. If it succeeds, S3 Tables durably buffer the rows from all producers, write Parquet files, and commit an Iceberg snapshot.

Things I like in the design:

  • Many producers, no coordination. Any number of producers can write to the same table at once. You don't handle commit conflicts.
  • File sizing is handled. Files are committed when they near the target size (512 MB default, settable from 64 MB to 512 MB) or typically within a minute. Low-volume tables get small files, and background compaction merges them.
  • Other writers can still write, with a catch. Other engines can write through the Iceberg REST endpoint, but the setup docs say their metadata commits can be blocked while buffered rows are uncommitted.
  • A health check. Every table gets a default channel. GetChannel returns its state (active, failing, failed) and an approximate count of rows accepted but not yet committed. The monitoring page also says PutRows publishes CloudWatch metrics and logs requests as CloudTrail data events.

Things that might bite:

  • Append only. Updates and deletes go through an Iceberg engine such as Spark.
  • At-least-once delivery, no deduplication. A retry after a lost response can write rows twice. The docs suggest a unique key column and removing duplicates at query time.
  • Schema changes are awkward. While accepted rows are uncommitted, schema changes on the table are blocked. The documented routine is pause producers, wait for the buffer to commit, change the schema, update producers, resume.

What the 80% is measured against

The announcement says PutRows can lower costs by up to 80% "compared to building and managing your own streaming ingestion", for workloads needing near real-time freshness. That's the whole definition I found. Compared with what is not stated: no instance types, no data rate, no named baseline stack.

The old approach, per the announcement, meant provisioning streaming compute for micro-batching, running compaction to rewrite small files, and building format conversion. So the saving is mostly the compute and operations you stop running. PutRows still has a per-GB charge, and you still pay for storage and maintenance on the table.

My view: believe the direction, not the number. "Up to" means best case, and your baseline decides your saving. If your current setup is already small and well tuned, expect less. Work it out with your own numbers.


Pricing

Per the S3 pricing page as of 30 Nov 2026, PutRows charges for the uncompressed data inserted into the table. It does not charge for input encoding or field names. You also pay the usual S3 Tables charges for storage, object monitoring and maintenance on the destination table. The page renders prices with JavaScript, so I took the figures from the AWS price list file.

Region PutRows data ingested
Most listed Regions, including N. Virginia, Ireland, London, Frankfurt $0.01 per GB
South America (Sao Paulo) $0.012 per GB

Worked example, using my own made-up volume: 500 GB per day of uncompressed rows in Ireland is about 15,000 GB in a 30-day month. At $0.01 per GB that's $150 a month for ingestion alone. Storage, monitoring and compaction are on top, and I haven't priced them here. Because the charge is on uncompressed bytes, verbose payloads cost the same as compact ones once uncompressed. Measure your real row size.


Limits worth knowing

From the quotas page. None are adjustable.

Quota Value
Request payload 50 MiB
Rows per request 100,000
Distinct partition values per request 1,000
Requests per second 1,000 per account
Data throughput 10 GB/s per table
Table schema size 1 MB

Other documented limits from the setup page: one channel per table, metadata.json up to 45 MB, fields no deeper than 32 levels, no identity partitions on float or double columns. The payload formats page adds that Avro must carry its writer schema, so no schema-registry-only records and no Confluent wire format.

The 1,000 requests per second is per account, not per table. A fleet of chatty devices sending one row per call will hit it. Batch rows per request.


What this means for you

Who should care. If you stream clickstream, logs or IoT events into Iceberg and your pipeline is mainly there to batch, convert and compact, look at this now. If you need updates, deduplication, or sub-10-second latency, wait or keep your current path.

What gets simpler. The producer calls an API. No micro-batch job, no Parquet writer, no compaction schedule for the streaming path. Concurrency across producers is handled for you.

What gets more complex.

  • IAM has five table-level actions to grant (s3tables:PutTableData, GetTableData, GetTableMetadataLocation, UpdateTableMetadataLocation, and GetChannel if you check health).
  • With SSE-KMS tables, the key policy must allow the service principal putrows.s3tables.amazonaws.com to call kms:GenerateDataKey and kms:Decrypt. A disabled key makes the channel failing, so alarm on it.
  • Partitioning matters. Fewer partitions means higher throughput and bigger files. The docs suggest daily rather than hourly, and avoiding high-cardinality columns.
  • Duplicates are your problem. Add an event ID column and de-dupe in queries.

Sample. This is the CLI call from the docs, syntax-checked with bash -n, not run by me. The rows file is newline-delimited JSON, not an array.

aws s3tables put-rows \
  --region eu-west-1 \
  --table-arn "$TABLE_ARN" \
  --payload-format JSON \
  --payload fileb://rows.ndjson
Enter fullscreen mode Exit fullscreen mode

The Python equivalent from the same page uses client.put_rows(tableARN=..., payloadFormat="JSON", payload=...) on a boto3 s3tables client, and get_channel(tableARN=...) for health. I haven't run it, so follow the docs page rather than my paraphrase.

Combine with. Put Kinesis Data Streams or MSK in front only if you need replay or fan-out to other consumers; for a single sink, going direct removes a hop. Query through the S3 Tables catalog integration from any engine that reads it, as the docs do. For the old data, the managed migration post covers moving Hive tables across.

Pitfalls.

  • Don't put a schema registry between you and PutRows. Avro must be self-describing.
  • Plan schema changes as a maintenance step, with producers paused.
  • Retries need an idempotency story on the query side.
  • Add the table to IaC with its schema, since a table without a schema fails writes.

Open question for me: how does the real cost compare once storage and compaction are in? AWS gives the ingest fee but not the baseline behind the 80%. If you've measured it, I'd like to see your numbers.


Related posts


Sources

Drafted with AI assistance. I review and edit every post.

Top comments (0)