zhangshenghang opened a new pull request, #11479:
URL: https://github.com/apache/seatunnel/pull/11479

   ## Summary
   
   - Restore clustered non-integer TiDB primary keys from common-handle record 
keys in TiDB CDC snapshot and streaming reads.
   - Add a regression test for a DECIMAL(10,0) primary key that was previously 
emitted as null.
   
   ## Root cause
   
   TiDB stores clustered non-integer primary-key values in the record key. The 
TiKV row decoder leaves those fields absent from the row value, and the TiDB 
CDC deserializers did not recover them from the key.
   
   ## Validation
   
   - `./mvnw -pl seatunnel-connectors-v2/connector-cdc/connector-cdc-tidb 
-Dtest=CommonHandleDecoderTest test`
   - `./mvnw spotless:apply`
   - `./mvnw -q -DskipTests verify`


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