Value fixes for SQL Server, CockroachDB, PostgreSQL, Redshift, and Iceberg
Fixes for SQL Server datetime2(7) boundary dates, CockroachDB JSONB and DECIMAL arrays, PostgreSQL numeric infinity and hstore null values, Redshift string truncation, and null updates in Iceberg merges.
Read more: Value fixes for SQL Server, CockroachDB, PostgreSQL, Redshift, and Iceberg
A set of values could lose their shape on the way through replication. SQL Server datetime2(7) values outside 1677 to 2262, including the common 9999-12-31 open-ended sentinel, became null in every capture mode. CockroachDB changefeed JSONB values that were arrays, numbers, booleans, or strings, and DECIMAL[] elements, were not carried over exactly. PostgreSQL numeric Infinity had no valid representation, and hstore keys whose value was null were dropped. Redshift truncation of oversized strings could cut inside a multibyte character, leaving invalid UTF-8 that COPY rejected on every retry. And an Iceberg merge could keep a column's old value when a null update shared a batch with a TOAST placeholder for that column.
Each path now preserves the value. datetime2(7) keeps every date SQL Server allows, at microsecond precision. CockroachDB JSONB and decimal arrays arrive with their contents and types intact. PostgreSQL numeric infinities become null, and null-valued hstore keys are retained. Redshift truncates on a character boundary, so the value stays within the column's byte limit and valid. Iceberg merges apply a staged null as the update it is.
This is for teams replicating those source types into any destination, and for Redshift and Iceberg destinations in particular.
Why this matters
- Open-ended dates and boundary values survive SQL Server replication
- CockroachDB and PostgreSQL pipelines keep exact data shapes
- Redshift loads no longer fail after a configured truncation