cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

changefeedccl: emit mvcc_timestamp for avro format

Open rharding6373 opened this issue 1 year ago • 1 comments

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.

rharding6373 avatar Aug 28 '24 23:08 rharding6373

This change is Reviewable

cockroach-teamcity avatar Aug 28 '24 23:08 cockroach-teamcity

TFTR!

bors r=andyyang890

rharding6373 avatar Aug 31 '24 02:08 rharding6373

blathers backport 24.2 24.1 23.2

rharding6373 avatar Nov 22 '24 18:11 rharding6373

blathers backport 24.1.8-rc

rharding6373 avatar Dec 02 '24 16:12 rharding6373

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.

blathers-crl[bot] avatar Dec 02 '24 16:12 blathers-crl[bot]