Skip to content
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

[debezium] Call DecodeDecimal directly #411

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

nathan-artie
Copy link
Contributor

@nathan-artie nathan-artie commented Apr 6, 2024

No description provided.

@nathan-artie nathan-artie changed the title [debezium] Call DecodeDecimal directly from DecodeDebeziumVariable [debezium] Call DecodeDecimal directly Apr 6, 2024
}

return f.DecodeDecimal(bytes)
return DecodeDecimal(bytes, ptr.ToInt(decimal.PrecisionNotSpecified), scale), nil
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decimal.PrecisionNotSpecified = -1.

@nathan-artie nathan-artie marked this pull request as ready for review April 6, 2024 18:36
@nathan-artie nathan-artie requested a review from Tang8330 April 6, 2024 18:36
@nathan-artie nathan-artie merged commit b5101d0 into master Apr 8, 2024
1 check passed
@nathan-artie nathan-artie deleted the nv/clean-up-DecodeDebeziumVariableDecimal branch April 8, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants