flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[oceanbase] fix npe in getTableSchema from UPDATE logmessage

Open whhe opened this issue 3 years ago • 3 comments

Half of the elements in columnNames will be null if we try to generate table schema from a UPDATE type log message, so we should skip these null values when create column instances.

whhe avatar Aug 30 '22 08:08 whhe

@whhe Are there some tests that already produce this error?

ruanhang1993 avatar Sep 02 '22 04:09 ruanhang1993

@whhe Are there some tests that already produce this error?

There is a user in the DingTalk group of Flink CDC who meets this issue, it's not covered by the integration tests for now.

whhe avatar Sep 02 '22 04:09 whhe

BTW, this fix will not be required after #1356 is merged.

whhe avatar Sep 02 '22 05:09 whhe