-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Bug] NullPointerException when parsing the table_map event #2001
Comments
The binlog client can not find the column type 20 in its ColumnType class, which is MYSQL_TYPE_TYPED_ARRAY. |
I have raised a PR to fix this in the mysql-binlog-connector-java(osheroff/mysql-binlog-connector-java#104). |
@ruanhang1993 mysql version = 8.0.18
|
I found that the problematic table statement appears here.
We have used a new index type introduced in MySQL 8.0: multi-value index. |
@ruanhang1993 Could you take a look @racoon945 's case ? |
I think we need consider @racoon945 's input, but we can create a new issue to track and fix it. |
…the table map event This closes #2001
@racoon945 I add a test but cannot reproduce the error #2192 . Would you mind taking a look at the test? |
commit 7ced72b6426e9723f91933ef0144fdda4b9c072d Author: Hang Ruan <ruanhang1993@hotmail.com> Date: Thu Jun 8 17:01:39 2023 +0800 [mysql-cdc] Supports MYSQL_TYPE_TYPED_ARRAY column type when parsing the table map event This closes apache#2001 commit a847655ed68c4d5874ced69006686362f23140e7 Author: Leonard Xu <leonard@apache.org> Date: Thu Jun 8 15:33:54 2023 +0800 [mysql-cdc][hotfix] Optimize the error msg when binlog expire in source commit 32f77ef0075dfd2b522df07809ab2aea8ae6de54 Author: Leonard Xu <leonard@apache.org> Date: Wed Jun 7 17:49:41 2023 +0800 [mysql-cdc] Optimize the error msg when binlog expire or server id conflict This closes apache#2010. commit da5cbf54e6b219956088bb99cec44d93f1011ff7 Author: He Wang <wanghechn@qq.com> Date: Thu Jun 8 13:50:24 2023 +0800 [oceanbase] add jdbc options and support oracle mode (apache#1854) commit 0e221382601e352215091d9cd1cb59fa2175063b Author: Leonard Xu <leonard@apache.org> Date: Wed Jun 7 17:34:57 2023 +0800 [mysql-cdc] Add handler for catching async exceptions in snapshot reading executor This closes apache#2016. commit 15e5e4d34dc05edcbdcfe15ff906213352a2cd02 Author: Hang Ruan <ruanhang1993@hotmail.com> Date: Wed Jun 7 17:26:59 2023 +0800 [hotfix][mysql-cdc] Use session timezone instead of local time zone as the default server time zone This closes apache#2015. commit 13235e2f2dca73320988a430b765f1fafa8e8f26 Author: Hang Ruan <ruanhang1993@hotmail.com> Date: Wed Jun 7 17:22:07 2023 +0800 [mysql] Fix NullPointerException when database name or table name contains dot This closes apache#2006. commit 6aa0fc4de353473cb7cda844a432e3dd5ddf4fea Author: Hang Ruan <ruanhang1993@hotmail.com> Date: Thu Jan 12 02:18:52 2023 +0000 [mysql] Fix NullPointerException caused by mysql ignores the capitalization when splitting chunks commit e9fed740f55f7f1e675e5fe83f7e04efb5e3f866 Author: ehui <374488688@qq.com> Date: Tue Jun 6 13:06:03 2023 +0800 [sqlserver] Fix old change data that will be captured when the latest mode starts (apache#2176) commit d2ffa0902038e9aec0e2b92fa4e82a066d1b123f Author: Tyrantlucifer <tyrantlucifer@apache.org> Date: Mon Jun 5 23:15:33 2023 +0800 [core] support print configuration options for connectors (apache#2099) commit a00abf88178feb6a2c699129e1f6aefb005960c7 Author: He Wang <wanghechn@qq.com> Date: Mon Jun 5 16:40:54 2023 +0800 [oceanbase] support libobcdc 4.x and fix restore timestamp config (apache#2161) commit 061602d Author: ehui <374488688@qq.com> Date: Mon Jun 5 23:49:15 2023 +0800 oralce commit 8dc46cc Author: ehui <374488688@qq.com> Date: Mon Jun 5 00:18:50 2023 +0800 [oracle]
…the table map event This closes apache#2001
Search before asking
Flink version
1.15.2
Flink CDC version
2.3.0
Database and its version
mysql 8.0.18
Minimal reproduce step
This error occurs when parsing the binlog.
What did you expect to see?
The job runs normally.
What did you see instead?
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: