Expand description
Key existence tracking for merge insert conflict detection.
A merge insert records the join keys it inserted into a bloom filter, which
is carried in the transaction so a concurrent commit can detect whether it
inserted any of the same keys. The filter is serialized into the transaction
protobuf, so it lives at the table layer next to crate::format::pb.
Structs§
- KeyExistence
Filter - Tracks keys of inserted rows for conflict detection. Only created when ON columns match the schema’s unenforced primary key.
- KeyExistence
Filter Builder - Builder for KeyExistenceFilter using Split Block Bloom Filter.
Enums§
- Filter
Type - Filter type for key existence data.
- KeyValue
- Key value for conflict detection.
Constants§
Functions§
- extract_
key_ value_ from_ batch - Extract key value from a batch row. Returns None if null or unsupported type.