-
Notifications
You must be signed in to change notification settings - Fork 1.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
[oceanbase] Add new deserialization schema with runtime converter #1356
Conversation
@leonardBang please help to review this pr. The test failure seems not related to my modification, so I will not try to fix it. |
Any maintainer can help review this? @GOODBOY008 @Jiabao-Sun |
@ruanhang1993 Would you like to help review this PR ? |
9b53329
to
9c7adde
Compare
There might be something wrong on the self-hosted agent machine, the oceanbase container can't be started now. @leonardBang |
let me see see |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work. I have left some comments.
Besides these, I find that there are many duplicated code between the new code and the code in module flink-connector-debezium
, e.g. AppendMetadataCollector
. Is there a way to reuse them?
...ava/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java
Show resolved
Hide resolved
...ava/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java
Show resolved
Hide resolved
...ava/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java
Show resolved
Hide resolved
...ava/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java
Outdated
Show resolved
Hide resolved
flink-connector-oceanbase-cdc/src/test/resources/ddl/column_type_test.sql
Show resolved
Hide resolved
...cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseConnectorITCase.java
Show resolved
Hide resolved
It's hard to reuse codes in |
@ruanhang1993 Any question for now? |
No more questions from my side. : ) |
Any progress for this PR? @leonardBang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @whhe and @ruanhang1993 for the great work, LGTM
b2f7e6c
to
e802cff
Compare
The previous logic is to do the first conversion with OceanBaseJdbcConverter helper methods, and then use runtime converters in JdbcValueConverters to do the second conversion. Now we need only do conversion one time with the new deserialization schema.
close #980 close #1289