KONEONE opened a new issue, #3117:
URL: https://github.com/apache/flink-cdc/issues/3117

   
![image](https://github.com/apache/flink-cdc/assets/39909636/9bcb9fba-aecc-4592-aa78-ec75539ec4be)
   在上面已经存在mysql-cdc:3.0.1了, 想要去获取row_kind字段,但是报错:
   ```text
   Caused by: 
org.apache.flink.client.deployment.application.ApplicationExecutionException: 
Could not execute application.
        ... 13 more
   Caused by: org.apache.flink.client.program.ProgramInvocationException: The 
main method caused an error: Invalid metadata key 'row_kind' in column 
'operation' of table 'default_catalog.default_database.gmall_cart_info'. The 
DynamicTableSource class 
'com.ververica.cdc.connectors.mysql.table.MySqlTableSource' supports the 
following metadata keys for reading:
   table_name
   database_name
   op_ts
        at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372)
 ~[flink-dist-1.16.3.jar:1.16.3]
        at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
 ~[flink-dist-1.16.3.jar:1.16.3]
        at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:98) 
~[flink-dist-1.16.3.jar:1.16.3]
        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.runApplicationEntryPoint(ApplicationDispatcherBootstrap.java:301)
 ~[flink-dist-1.16.3.jar:1.16.3]
        ... 12 more
   Caused by: org.apache.flink.table.api.ValidationException: Invalid metadata 
key 'row_kind' in column 'operation' of table 
'default_catalog.default_database.gmall_cart_info'. The DynamicTableSource 
class 'com.ververica.cdc.connectors.mysql.table.MySqlTableSource' supports the 
following metadata keys for reading:
   table_name
   database_name
   op_ts
   ````
   
   难道是需要如下版本才可以吗?
   ```xml
   <dependency>
     <groupId>com.ververica</groupId>
     <artifactId>flink-connector-mysql-cdc</artifactId>
     <!-- 请使用已发布的版本依赖,snapshot版本的依赖需要本地自行编译。 -->
     <version>3.0-SNAPSHOT</version>
   </dependency>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to