zuston opened a new issue, #2449:
URL: https://github.com/apache/fluss/issues/2449

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Fluss version
   
   0.8.0 (latest release)
   
   ### Please describe the bug 🐞
   
   When creating an Iceberg table with multiple primary keys, insert or upsert 
operations fail with the error message:
   “Key fields must have exactly one field for Iceberg format, but got …”.
   
   This error is triggered by the validation logic in `IcebergKeyEncoder.` 
However, this constraint is only detected at runtime during insert/upsert. From 
a usability and correctness perspective, the same validation should be 
performed earlier
   
   ### Solution
   
   _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