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

   
   ### Purpose
   
   CDC computed columns previously lacked access to configured metadata during 
schema resolution and record evaluation. This change allows single-table 
synchronization into append-only targets without primary keys to derive columns 
and partitions from enabled metadata, including configured prefixes.
   
   For example, dt=date_format(__kafka_timestamp,yyyy-MM-dd) can derive a daily 
partition from the Kafka record timestamp. Metadata-dependent computed columns 
are rejected for primary-key targets, including inferred keys and existing 
tables, because metadata can change between inserts, updates, and deletes.
   
   ### Tests
   New test cases are added to solve the problem.


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