S3 Tables PutRows, Tested: Validation Errors, Freshness and Throughput

S3 Tables PutRows tested in eu-west-1: validation outcomes, commit timing, request time by batch size and the load test result
On this page

On 29 November 2026 AWS announced direct streaming ingestion for Amazon S3 Tables. One API call, PutRows, takes rows as JSON or Avro, checks them against the schema of an Apache Iceberg table, and commits them as Parquet. There is no delivery stream, no connector and no Flink job between the producer and the table.

The announcement says rows are queryable in about a minute and gives no limits. The documentation has since filled in the limits. What it does not show is what a producer sees when a row is wrong, how long a commit really takes, or what the table looks like after a burst. I tested those in Ireland. A bad row fails the whole request and the error names the row by position. Rows were in a committed snapshot 28 seconds after the request. Eight threads in a CloudShell session wrote 750,000 to 900,000 rows a second without one refusal, and every accepted row was in the table afterwards.

S3 Tables PutRows tested in eu-west-1: validation outcomes, commit timing, request time by batch size and the load test result
Two runs in eu-west-1 on 2 December 2026.

Test Setup

One script runs from AWS CloudShell with boto3 1.44.17. It creates a table bucket, a namespace and an unpartitioned Iceberg table with six columns: three required (event_id string, event_time timestamptz, user_id long) and three optional (amount decimal(10,2), event_type string, note string). It sends newline-delimited JSON with the SDK’s automatic retries switched off, so every answer from the service is visible. To see what was committed it reads the table’s Iceberg metadata file through the S3 API and lists the snapshots, so no query engine is involved.

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#FFF3E0','primaryTextColor':'#232F3E','primaryBorderColor':'#FF9900','lineColor':'#232F3E','clusterBkg':'#F8FAFC','clusterBorder':'#CBD5E1','edgeLabelBackground':'#FFFFFF','nodeTextColor':'#232F3E'}}}%%
flowchart TD
    A["Producers:
PutRows, NDJSON or Avro"] --> B{"Every row matches
the table schema?"} B -->|No| R["HTTP 400:
whole request rejected"] B -->|Yes| C["Rows accepted and
durably buffered"] C --> D["Commit, about every
20 to 30 seconds"] D --> E["Parquet files and a
new Iceberg snapshot"] E --> F["Background compaction
by S3 Tables"] classDef compute fill:#FFF3E0,stroke:#FF9900,stroke-width:2px,color:#232F3E classDef store fill:#F0FFF4,stroke:#1D8102,stroke-width:2px,color:#145202 classDef bad fill:#FEF2F2,stroke:#D13212,stroke-width:2px,color:#991B1B class A,B,D compute class C,E,F store class R bad

Request and Response Behaviour

A successful call returns one field, acceptedRows. A failed call returns HTTP 400 and accepts nothing. These are the cases I sent, with the answers as returned.

RequestResult
Two valid rowsAccepted, acceptedRows: 2
Three rows, the second with text in a long columnSchemaValidationException: Row at index 1 does not match the table schema: a value does not match its column’s type
A required column left out, or sent as nullSchemaValidationException: a required column is missing or null
A column the table does not haveSchemaValidationException: it has a column the table does not define
A column name in another case (User_Id)The same: it has a column the table does not define
A long sent as the string "42"Accepted
A decimal(10,2) sent as 14.201SchemaValidationException: a value exceeds the limits of its column’s type
A timestamptz with no zoneSchemaValidationException: a value does not match its column’s type
The rows wrapped in a JSON array, or separated by CRLFBadRequestException: the payload is not valid JSON
100,001 rowsBadRequestException: payload exceeds the maximum of 100000 rows
A payload of 53.8 MiBBadRequestException: The request body exceeds the maximum allowed size
GetChannel before the first PutRows404 NotFoundException. The channel appears with the first write
AWS CloudShell output: what PutRows returned for valid and invalid requests
CloudShell output of the request tests.

Schema Validation Rules

  • One bad row rejects the request. The two good rows sent with the bad one were not in the table afterwards. This is documented, and it is the opposite of a delivery stream that sets bad records aside and carries on.
  • The error names the row, not the column. It gives the position of the first bad row in the payload and a general reason. It does not say which column, and it reports one row at a time.
  • The error does not repeat the data. None of the messages contained a value from the row. For personal or clinical data that is the right behaviour: the rejected value does not reach an application log through the exception text.
  • Matching is exact. An extra column is an error, and so is a column name that differs only in case. Producers that send a superset of fields have to trim them first.
  • Types are checked, with a little tolerance. A whole number in a string is accepted for a long. Extra decimal places and a timestamp without a zone are not.
  • Rejections are quick. A schema rejection took 5 to 6 ms, against roughly 55 ms for an accepted request, so the check runs before anything is stored.

Commit Interval and Freshness

Three times I sent 1,000 rows to an idle table and waited for a snapshot that contained them. The snapshot was stamped 28.5, 28.3 and 28.5 seconds after the request was sent. The first commit of the run took 29 seconds too. For a table with a trickle of data, plan on about half a minute from a successful call to queryable rows, which is inside the “about a minute” AWS states.

Under load the commits came closer together. During the 60-second test the table received snapshots 28, 20 and 18 seconds apart. The documentation says a busy table can commit in as little as 10 seconds.

⚠️
BUFFERED ROW COUNT ACCURACY

GetChannel returns approximateNumberOfBufferedRows, and approximate is the right word. Straight after the first two rows were accepted it read 0, while they were still 29 seconds from a commit. At the end of the load test it read 7,060,000 when the table already held every row. Use it as a rough signal for an alarm. To know that rows are committed, read the table.

Request Latency by Batch Size

Rows in the requestPayloadRequest time, three calls
10.1 KiB219, 57, 62 ms
10011 KiB58, 53, 54 ms
1,000116 KiB55, 57, 54 ms
10,0001.2 MiB57, 62, 59 ms
100,00011.8 MiB318, 330, 384 ms

Up to about a megabyte the request time is flat at 55 to 60 ms, measured from CloudShell in the same Region, so the cost of a call is the round trip and not the rows. A producer that sends one row per call pays that round trip per row and reaches about 17 rows a second on one connection. The same connection sending 10,000 rows per call reaches about 175,000. Batch before you call.

Sustained Load Results

Eight threads sent the same 10,000-row request as fast as they could for 60 seconds.

MeasureFirst runSecond run
Requests accepted6,3674,576
Rows accepted63,670,00045,760,000
Rows per second908,083749,011
JSON sent100.8 MiB/s83.1 MiB/s
Request time, median63 ms63 ms
Request time, 99th percentile239 ms1,081 ms
Requests refusedNoneNone

This is the ceiling of a CloudShell session, not of PutRows. At about 100 requests a second and 0.1 GB a second, the test was at a tenth of the documented account limit of 1,000 requests a second and a hundredth of the table limit of 10 GB a second. I never saw a TooManyRequestsException, so I cannot describe throttling from experience. The difference between the two runs is the client’s, and the slower tail in the second run is a reminder that one figure from one minute is not a benchmark.

AWS CloudShell output: commit timing, request time by batch size, the 60-second load test and the snapshots in the table
CloudShell output of the timing and load tests in the second run.

Snapshots and Data Files

After the second run the table had seven snapshots, all appends: one per commit. Across the whole run PutRows accepted 46,096,306 rows and the latest snapshot reported 46,096,306 records. The first run agreed in the same way at 64,006,306. Nothing was lost and nothing was added.

  • Busy table: each commit wrote one to three Parquet files of 12 to 50 MiB, holding 7 to 29 million rows. The data was highly repetitive test data, so 5.1 GiB of JSON became 78 MiB of Parquet; real events will not compress like that.
  • Quiet table: each batch of 1,000 rows became its own snapshot and its own file of 7.8 KB.

The quiet case is the one to think about. A table that receives a few rows every half minute collects close to 3,000 small files and 3,000 snapshots a day, by arithmetic from the 28-second interval. S3 Tables maintenance is on by default for a new table, with compaction to a 512 MB target and snapshot expiry after 120 hours, and both are billed. The documentation also sets a 45 MB limit on the table metadata file that PutRows can work with, and says to keep snapshot management on for that reason. I did not wait to watch compaction run.

Delivery Semantics

PutRows is documented as at-least-once and does not deduplicate. I sent the same single-row payload twice and the table grew by two rows. There is no idempotency token in the request. A producer that times out and retries a request that had in fact been accepted writes those rows twice.

The fix is in the data model: give every row a unique key from the producer, such as an event ID, and deduplicate when reading or in a periodic merge. For a ledger, an audit trail or anything clinical, that key is a requirement and not a nicety.

Quotas and Pricing

ItemValueSource
Request payload50 MiBUser Guide quotas
Rows per request100,000User Guide quotas
Distinct partition values per request1,000User Guide quotas
Requests per second1,000 per accountUser Guide quotas
Data throughput10 GB/s per tableUser Guide quotas
PutRows ingestion$0.01 per GB in IrelandAWS Price List API
Table storage$0.0265 per GB-month, first 50 TB, IrelandAWS Price List API
Object monitoring$0.025 per 1,000 objects a monthAWS Price List API
Compaction$0.002 per 1,000 objects and $0.005 per GB processedAWS Price List API

None of the quotas is adjustable. The pricing page says PutRows charges for the uncompressed data inserted and not for the input encoding or the field names, so the billed size is smaller than the JSON you send. The rate did not load on the pricing page when I read it, so the figures are from the AWS Price List API for eu-west-1.

Comparison with Amazon Data Firehose

I did not run a Firehose pipeline for this article. The comparison below is from the Firehose documentation and pricing page beside what I measured for PutRows.

AspectPutRowsAmazon Data Firehose to Iceberg tables
What you runNothing. One API call from the producerA stream, its IAM role and the catalog integration
Price for delivery$0.01 per GB of row data in Ireland$0.045 per GB in the pricing page example, with no Region named
A record that does not matchThe whole request is refused at once, with the row positionSent to an S3 error bucket; the producer is not told
An extra fieldRejectedSkipped
Updates and deletesNo. Appends onlyYes
Transformation on the wayNoneAn AWS Lambda function
Throughput10 GB/s per table5 MiB/s per stream with Direct PUT in Ireland, more in append-only mode

At those two rates PutRows costs 78% less for delivery, which is where the “up to 80%” in the announcement comes from. The bigger change is where errors go. With Firehose a bad record is an operations problem found later in a bucket. With PutRows it is an exception in the producer, now. That is better for data quality and it moves work into every producer.

Producer Design Guidance

Because one bad row blocks its whole batch, a producer needs a plan for it. The error gives the position of the row, which is enough: take that row out, keep it somewhere for inspection, and send the rest again.

%%{init: {'theme':'base','themeVariables':{'primaryColor':'#FFF3E0','primaryTextColor':'#232F3E','primaryBorderColor':'#FF9900','lineColor':'#232F3E','signalColor':'#0073BB','signalTextColor':'#0F172A','actorBkg':'#FFF3E0','actorBorder':'#FF9900','actorTextColor':'#232F3E','noteBkgColor':'#FFF8E7','noteBorderColor':'#FF9900','noteTextColor':'#232F3E'}}}%%
sequenceDiagram
    participant P as Producer
    participant T as S3 Tables PutRows
    participant D as Dead-letter store
    P->>T: PutRows, 5,000 rows
    T-->>P: 400, row at index 17
    P->>D: Row 17 and the reason
    P->>T: PutRows, 4,999 rows
    T-->>P: 400, row at index 4320
    P->>D: That row and the reason
    P->>T: PutRows, 4,998 rows
    T-->>P: acceptedRows 4998

This is the module that did it in the test. It also splits batches at the request quotas and retries throttling and server errors with exponential backoff and full jitter. No retryable error occurred during the test, so that branch has not been exercised against the service.

Python56 lines
MAX_ROWS = 100_000                      # PutRows quota: rows per request
MAX_BYTES = 48 * 1024 * 1024            # kept under the 50 MiB request quota
RETRYABLE = {"TooManyRequestsException", "InternalServerErrorException", "ServiceUnavailableException", "InvalidStateException"}
ROW_INDEX = re.compile(r"Row at index (\d+)")

# The SDK's own retries are switched off so that this module is the only place that retries.
CLIENT_CONFIG = Config(retries={"max_attempts": 1}, read_timeout=120)


@dataclass
class Result:
    accepted: int = 0
    requests: int = 0
    retries: int = 0
    dead_letters: list = field(default_factory=list)    # (row, reason)


def batches(rows: list[dict]):
    """Splits rows into payloads that respect the row and size quotas."""
    lines, size = [], 0
    for row in rows:
        line = json.dumps(row, separators=(",", ":")).encode()
        if lines and (len(lines) >= MAX_ROWS or size + len(line) + 1 > MAX_BYTES):
            yield lines
            lines, size = [], 0
        lines.append(line)
        size += len(line) + 1
    if lines:
        yield lines


def send(client, table_arn: str, rows: list[dict], max_attempts: int = 6, max_bad_rows: int = 100) -> Result:
    result = Result()
    for lines in batches(rows):
        attempt = 0
        while lines:
            try:
                result.requests += 1
                response = client.put_rows(tableARN=table_arn, payloadFormat="JSON", payload=b"\n".join(lines))
                result.accepted += response["acceptedRows"]
                break
            except ClientError as error:
                code = error.response["Error"].get("Code", "")
                message = error.response["Error"].get("Message", "")
                found = ROW_INDEX.search(message)
                if code == "SchemaValidationException" and found and len(result.dead_letters) < max_bad_rows:
                    bad = lines.pop(int(found.group(1)))          # set the named row aside and send the rest again
                    result.dead_letters.append((json.loads(bad), message.split(": ", 1)[-1]))
                    continue
                if code in RETRYABLE and attempt < max_attempts - 1:
                    attempt += 1
                    result.retries += 1
                    time.sleep(random.uniform(0, min(20.0, 0.2 * 2 ** attempt)))   # full jitter
                    continue
                raise
    return result

Against a new table, with two bad rows planted among 5,000, it made three requests in 538 ms, set the two rows aside with their reasons, and 4,998 rows were in the table 29 seconds later. Each bad row costs one extra round trip, so a cap on bad rows per batch stops a broken upstream from turning into thousands of calls.

  • Batch by time and size. A few hundred milliseconds or a megabyte, whichever comes first, costs nothing in freshness against a 20 to 30 second commit.
  • Validate before you send where you can. The service check is the backstop, not the first line.
  • Carry a unique key in every row. It is the only defence against duplicates from retries.
  • Send exactly the table’s columns. Extra fields and wrong case are errors.
  • Pause producers for schema changes. The documentation says changes are blocked while rows are buffered. I did not test this.
  • Keep table maintenance on, and watch object counts on quiet tables.

Recommendation

For append-only events going into a table, such as audit records, telemetry and clickstream, PutRows removes a moving part and reports bad data to the party that produced it. I would use it for new pipelines of that kind now, with the producer module above or its equivalent in front of it. I would keep Firehose or Flink where records need transforming, where updates and deletes flow through, or where producers cannot be changed to send clean rows. This launch is in my re:Invent 2026 adopt, pilot and watch list under Pilot, with its limits and its error behaviour as open questions. Both now have an answer.

A note on testing: I ran the script from AWS CloudShell in eu-west-1 on 2 December 2026 with boto3 1.44.17, twice in full, plus a short run of the producer module. The first run’s reading of the snapshots was wrong because my script took the last snapshot listed in the metadata file as the latest, and the file does not list them in time order; I corrected the script and the figures here are from the second run, except the first-run column of the load table. The load figures measure one CloudShell session over one minute. I did not test Avro, partitioned tables, throttling, schema changes during writes, a second writer, SSE-KMS, compaction afterwards, a query engine reading the rows, or a Firehose pipeline. The CloudShell screenshots show the saved output printed again afterwards, with the console header cropped. Everything the script created was deleted when it finished.

References & Further Reading


Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Written by

Nithin Mohan TK

Hello Namaste! 👋🏻 I'm an accomplished Enterprise Solution Architect & Engineering Leader with 20+ years of progressive experience architecting, building, and scaling transformative enterprise solutions. ⚜️ Solution Architect / AI & Cloud 📌 Galway, Ireland

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.