cockroach
cockroach copied to clipboard
changefeedccl: emit mvcc_timestamp for avro format
This PR adds support for the mvcc_timestamp option with the avro format. Before this change, changefeeds using avro would not fail if mvcc_timestamp was specified, but would ignore the option. Now avro supports the mvcc_timestamp by adding mvcc_timestamp to the schema and emitting the mvcc value with the row data.
Epic: none Fixes: #123078
Release note (enterprise change): Adds changefeed support for the mvcc_timestamp option with the avro format. If both options are specified, the avro schema includes an mvcc_timestamp metadata field and emits the row's mvcc timestamp with the row data.
TFTR!
bors r=andyyang890
Build succeeded:
blathers backport 24.2 24.1 23.2
blathers backport 24.1.8-rc
Based on the specified backports for this PR, I applied new labels to the following linked issue(s). Please adjust the labels as needed to match the branches actually affected by the issue(s), including adding any known older branches.
Issue #123078: branch-release-24.1.8-rc.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.