polyzos commented on issue #3249:
URL: https://github.com/apache/paimon/issues/3249#issuecomment-2097402842

   @eric666666 Thanks a lot for this.
   The problem here though is that I'm trying to use an **Append for Message 
Queue** table, so I can offload logs from Kafka, but your example suggests 
using a Primary Key table.
   
   I also try using your example, but when creating the **sink_paimon_table** 
(paimon 0.7.0-incubating), Im getting
   ```
   [ERROR] Could not execute SQL statement. Reason:
   java.lang.IllegalStateException: Table column [id, a, b, dt] should include 
all primary key constraint [partition_id, offset]
   ```
   
   Let me know if I'm missing something.
   


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