Module materialize Copy item path Source ChangeBuffer π ChangeBuffer
is a buffer to handle chunk into KeyOp
.
TODO(rc): merge with TopNStaging
.MaterializeCache π A cache for materialize executors. MaterializeExecutor MaterializeExecutor
materializes changes in stream into a materialized view on storage.ChangeBufferKeyOp π KeyOp
variant for ChangeBuffer
that stores OwnedRow
instead of Bytesgenerate_output π Construct output StreamChunk
from given buffer. get_op_consistency_level π handle_toast_columns_for_postgres_cdc π Fix TOAST columns by replacing unavailable values with old row values. is_debezium_unavailable_value π Check if a datum represents Debeziumβs unavailable value placeholder.
This function handles both scalar types and one-dimensional arrays. is_unavailable_value_str π Fast string comparison to check if a string equals DEBEZIUM_UNAVAILABLE_VALUE
.
Optimized by checking length first to avoid expensive string comparison. replace_if_not_null π Replace columns in an existing row with the corresponding columns in a replacement row, if the
column value in the replacement row is not null. versions_are_newer_or_equal π Compare multiple version columns lexicographically.
Returns true if new_row
has a newer or equal version compared to old_row
. CacheValue π