-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdc: Avro number roundtrip error on changefeed creation #38058
Comments
Closing due to inactivity. If you are still having the issue, please feel free to respond to this thread. We want to help! |
We have run into the same error when we tried to use the TPCC benchmark to test CDC performance. The changefeed job error'ed out with: Init the benchmark:
Create the change feed:
The error seems to arise from: https://github.com/cockroachdb/cockroach/blob/master/pkg/ccl/changefeedccl/avro.go#L676 |
@HonoreDB Would you characterize the difficulty here? Is this a resolvable bug, is there a workaround, or is this a limitation of Avro that can’t be fixed? |
We might also consider upgrading the Avro SDK. |
It could look like the |
I like #38013 as a solution here. It's debatable whether this is a bug; I think what's going on is that the Avro type is fixed precision so it can't capture the distinction between |
Sounds like the error is a correct, conservative thing to do – we probably don’t want lossy transformations to happen quietly. We might not know a priori if the loss is ’trivial’ from the user’s perspective. Have we considered a |
|
All your tests also assume that the
|
This Github issue is synchronized with Zendesk:
Ticket ID: #3388
Group: Support
Requester: [email protected]
Organization: Kindred Group
Assignee: Ricardo Rocha
Issue escalated by: Ricardo Rocha
Original ticket description:
The text was updated successfully, but these errors were encountered: