-
Notifications
You must be signed in to change notification settings - Fork 286
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
Fix handling of JSON columns #3643
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #3643 +/- ##
================================================
+ Coverage 56.5356% 58.0973% +1.5616%
================================================
Files 211 241 +30
Lines 22798 24502 +1704
================================================
+ Hits 12889 14235 +1346
- Misses 8598 8845 +247
- Partials 1311 1422 +111 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 7acb0b6
|
In response to a cherrypick label: new pull request created: #3649. |
In response to a cherrypick label: new pull request created: #3650. |
In response to a cherrypick label: new pull request created: #3651. |
In response to a cherrypick label: new pull request created: #3652. |
In response to a cherrypick label: new pull request created: #3653. |
Thanks @dveeden for fixing this. Do you know which TiCDC release version would contain this fix? |
That's not sure yet, but probably v5.3.1 and v5.2.4. You can follow the cherrypick requests that @ti-chi-bot posted to see when they are merged in the |
What problem does this PR solve?
Closes #3624
What is changed and how it works?
When inserting valid JSON into a column of the
json
type this happens:The
Value
seems to be astring
instead ofjson.BinaryJSON
as the error indicatesManual test
Setup a test environment:
Create a table and insert some JSON:
Start an Avro Console Consumer:
Output:
Check List
Tests
Related changes
Release note