Repository navigation
[release-nextgen-202609] codec: align canal-json javaType mapping with tiflow - #6993
ti-chi-bot[bot] wants to merge 3 commits into
Conversation
|
Important Review skippedBot user detected. Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3AceShowHand, lidezhu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #6977
What problem does this PR solve?
Issue Number: close #6947
What is changed and how it works?
mysqlType2JavaTypenow returnsJavaSQLTypeNULLformysql.TypeNullandJavaSQLTypeBINARYformysql.TypeGeometry, as in tiflow, instead of falling through toJavaSQLTypeVARCHAR.Check List
Tests
go test -tags=intest ./pkg/sink/codec/canalpassed. No existing case assertsjavaTypefor these types, and no test case was added.Questions
Will it cause performance regression or break compatibility?
No. Only the
javaTypeof these two types changes.Do you need to update user documentation, design documentation or monitoring documentation?
No.
Release note
Summary by CodeRabbit