Expand description
Handling of Debezium’s placeholder for column values that an UPDATE left unchanged and the upstream did not log, such as PostgreSQL TOAST values and Oracle LOB, XML and extended string values.
Functions§
- chunk_
has_ placeholder - Whether any row in the chunk carries Debezium’s placeholder in one of the given columns.
- is_
debezium_ 🔒placeholder - Check if a datum represents Debezium’s placeholder. This function handles both scalar types and one-dimensional arrays.
- is_
placeholder_ 🔒str - Fast string comparison to check if a string equals
DEBEZIUM_UNAVAILABLE_VALUE. Optimized by checking length first to avoid expensive string comparison. - restore_
placeholder_ columns - Replace Debezium’s placeholder in the given columns of
new_rowwith the values fromold_row.