juntaozhang opened a new pull request, #6239:
URL: https://github.com/apache/paimon/pull/6239

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Linked issue: #6238
   When using postgres_sync_table action with Paimon CDC, PostgreSQL DECIMAL 
fields are incorrectly parsed as BYTES type instead of DECIMAL, causing schema 
conversion failures.
   
   Error: UnsupportedOperationException: Cannot convert field amount from type 
DECIMAL(10, 2) NOT NULL to BYTES NOT NULL
   
   DebeziumSchemaUtils.decimalLogicalName() field is 
org.apache.kafka.connect.data.Decimal, but field name and className is shaded 
to org.apache.flink.cdc.connectors.shaded.org.apache.kafka.connect.data.Decimal
   
   <img width="1084" height="630" alt="image" 
src="https://github.com/user-attachments/assets/64d22041-35c5-41b8-8fa1-2909e8b429a3";
 />
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   


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