cockroachdb / cockroachdb/cockroach

changefeedccl: changefeed tests don't validate the avro schema enough

Open
#140,610 1 comment 0 reactions 0 assignees View on GitHub
A-cdc branch-master C-bug T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

I introduced a bug which produced a wonky avro schema, and the test suite didn't notice. We use the avro schema to decode messages, but perhaps the goavro codec is very lenient on what it accepts. we should add better test coverage for emitted schemas.

Jira issue: CRDB-47267

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.