You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a column type is BYTES or one of its aliases, our avro encoder just passes the raw datum to goavro, but goavro then tries to detect what kind of byte array this is and convert it into a printable string. This makes it harder to use changefeeds with BYTES data that's not meant to be printable. We should document and unit-test this behavior, since we can't change it now for backwards compatibility, and probably also add an option to override it.
cockroachdb#79995
was filed because standard avro deserialization libraries,
including the one some users were using and the one we use in
tests, get clever with byte sequences to make them printable.
This PR just adds a few tests to demonstrate that we're not
including escape sequences in the raw binary data we output.
Release note: None
80849: docs: update cluster-to-cluster streaming RFC r=gh-casper a=gh-casper
Previously it used the producer job with statefull outboxes design,
now it is updated with consumer-tracked state design.
Release note: None
81411: changefeedccl: tests for non-ascii bytes in avro r=[miretskiy] a=HonoreDB
#79995
was filed because standard avro deserialization libraries,
including the one some users were using and the one we use in
tests, get clever with byte sequences to make them printable.
This PR just adds a few tests to demonstrate that we're not
including escape sequences in the raw binary data we output.
Release note: None
Co-authored-by: Casper <[email protected]>
Co-authored-by: Aaron Zinger <[email protected]>
When a column type is BYTES or one of its aliases, our avro encoder just passes the raw datum to goavro, but goavro then tries to detect what kind of byte array this is and convert it into a printable string. This makes it harder to use changefeeds with BYTES data that's not meant to be printable. We should document and unit-test this behavior, since we can't change it now for backwards compatibility, and probably also add an option to override it.
Jira issue: CRDB-15698
The text was updated successfully, but these errors were encountered: