github-actions[bot] commented on code in PR #41865:
URL: https://github.com/apache/beam/pull/41865#discussion_r4762833632


##########
website/www/site/content/en/blog/iceberg-cdc-sink.md:
##########
@@ -0,0 +1,208 @@
+---
+title: "Apply row-level changes to Iceberg with Apache Beam"
+date: 2026-11-22 00:00:00 -0800
+categories:
+  - blog
+authors:
+  - ahmedabu98
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+You can now use Apache Beam to **apply a stream of row-level changes (inserts, 
updates, deletes) to an Iceberg
+table** by primary key. The merge-on-read sink works in streaming and batch, 
and it takes changes
+from any source: another Iceberg table, a database's change log, or a Kafka 
topic. Try it with
+this **[quickstart](/documentation/io/built-in/iceberg-cdc/)**.

Review Comment:
   **🟠 High**: The relative links to `/documentation/io/built-in/iceberg-cdc/` 
(here and on lines 199-201) and `/blog/iceberg-cdc-source/` (line 126) resolve 
to pages in PR #41584 that do not exist on `master` yet. This will cause 
`beam_PreCommit_Website` (`check-links.sh`) to fail until PR #41584 is merged.



##########
website/www/site/content/en/blog/iceberg-cdc-sink.md:
##########
@@ -0,0 +1,208 @@
+---
+title: "Apply row-level changes to Iceberg with Apache Beam"
+date: 2026-11-22 00:00:00 -0800
+categories:
+  - blog
+authors:
+  - ahmedabu98

Review Comment:
   **🔴 Critical**: The author key `ahmedabu98` is not yet present in 
`website/www/site/data/authors.yml` on `master` (it is currently being added in 
PR #41584). Hugo's `blog/single.html` layout indexes `$.Site.Data.authors` by 
this key and accesses `.name`, which will fail the Hugo website build if this 
PR is built or merged before PR #41584.



##########
website/www/site/content/en/blog/iceberg-cdc-sink.md:
##########
@@ -0,0 +1,208 @@
+---
+title: "Apply row-level changes to Iceberg with Apache Beam"
+date: 2026-11-22 00:00:00 -0800
+categories:
+  - blog
+authors:
+  - ahmedabu98
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+You can now use Apache Beam to **apply a stream of row-level changes (inserts, 
updates, deletes) to an Iceberg
+table** by primary key. The merge-on-read sink works in streaming and batch, 
and it takes changes
+from any source: another Iceberg table, a database's change log, or a Kafka 
topic. Try it with
+this **[quickstart](/documentation/io/built-in/iceberg-cdc/)**.
+
+<!--more-->
+
+Applying changes to a table has a few hard parts. The changes have to land in 
the order they
+happened. Deletes have to find the rows they remove. And if a commit is 
retried, or the job
+restarts, the same change can't be applied twice. **Beam's CDC sink handles 
these details for
+you.**
+
+## What the sink expects
+
+The sink takes a collection of change rows. Besides the table's own columns, 
each row carries
+two more:
+
+- the change type: `INSERT`, `UPDATE_BEFORE`, `UPDATE_AFTER` or `DELETE`
+- a sequence number that goes up with each change to the same key. Both halves 
of an update share
+  one.
+
+Here's a pipeline that applies those changes to `sales.orders`:

Review Comment:
   **🟡 Medium**: Unlike `iceberg-cdc-source.md` and `iceberg-cdc.md` in PR 
#41584, this post omits the `<style>` block that hides duplicate 
`div.language-switcher` elements (`div.language-switcher { display: none 
!important; }`). Without it, `language-switch-v2.js` will render redundant 
language switcher tab bars above both the `changes` and Debezium code blocks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to