zhuangchong opened a new issue, #2115:
URL: https://github.com/apache/incubator-paimon/issues/2115

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Paimon version
   
   0.6
   
   ### Compute Engine
   
   flink
   
   ### Minimal reproduce step
   
   When using kafka cdc to synchronize canal format data in the entire 
database, the `pkNames` parameter of the non-primary key table is invalid.
   
   ```json
   {
     "data": [
       {
         "VERSION": "6.3.1",
         "GUID": "3895b336-f7d4-4b00-b110-c82fb6c3ad88",
         "LAST_UPDATE_INSTANT": "1676564925610",
         "TS": "0",
         "HOSTNAME": "cdh1/172.18.5.44",
         "LAST_ACTIVE_TIMESTAMP": "1696939709931"
       }
     ],
     "database": "scm",
     "es": 1696939709000,
     "gtid": "",
     "id": 641,
     "isDdl": false,
     "mysqlType": {
       "VERSION": "varchar(256)",
       "GUID": "varchar(36)",
       "LAST_UPDATE_INSTANT": "bigint",
       "TS": "bigint",
       "HOSTNAME": "varchar(255)",
       "LAST_ACTIVE_TIMESTAMP": "bigint"
     },
     "old": [
       {
         "LAST_ACTIVE_TIMESTAMP": "1696939694927"
       }
     ],
     "pkNames": null,
     "sql": "",
     "sqlType": {
       "VERSION": 12,
       "GUID": 12,
       "LAST_UPDATE_INSTANT": -5,
       "TS": -5,
       "HOSTNAME": 12,
       "LAST_ACTIVE_TIMESTAMP": -5
     },
     "table": "cm_version",
     "ts": 1696939709937,
     "type": "UPDATE"
   }
   ```
   
   ### What doesn't meet your expectations?
   
   When using kafka cdc to synchronize canal format data in the entire 
database, the `pkNames` parameter of the non-primary key table is invalid.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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