flink-cdc
flink-cdc copied to clipboard
[Bug] class java.lang.String for field: "null"
Search before asking
- [X] I searched in the issues and found nothing similar.
Flink version
13.6
Flink CDC version
<dependency>
<groupId>com.ververica</groupId>
<artifactId>flink-sql-connector-oracle-cdc</artifactId>
<version>2.3.0</version>
</dependency>
Database and its version
oracle 11g
Minimal reproduce step
Every time you submit a job, run for about ten seconds and report an error
What did you expect to see?
Normal Operation Solution
What did you see instead?
Here is my SQL job
CREATE TABLE ac_paymentbooks_cdc(
ID DECIMAL(10) ,
NUM DECIMAL(10) ,
。。。
PRIMARY KEY (ID) NOT ENFORCED
) WITH (
'connector' = 'oracle-cdc',
'hostname' = 'xxx',
'port' = 'xxx',
'username' = 'xxx',
'password' = 'xxx',
'database-name' = 'xxx',
'schema-name' = 'xxx',
'table-name' = 'xxx',
'debezium.log.mining.strategy' = 'online_catalog',
'debezium.log.mining.continuous.mine' = 'true',
'debezium.database.tablename.case.insensitive' = 'false',
'debezium.decimal.handling.mode' = 'double',
'debezium.event.processing.failure.handling.mode' = 'skip',
'debezium.json.debezium.ignore-parse-errors' = 'true',
'debezium.database.history.kafka.topic' = 'test1',
'scan.startup.mode' = 'latest-offset'
);
Anything else?
No response
Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
It has been solved, the reason is that the database name needs to be capitalized