kris-sea commented on issue #5069:
URL: https://github.com/apache/iceberg/issues/5069#issuecomment-1215041789

   I guess @felixYyu is trying to create an iceberg table by executing flink 
SQL `PRIMARY KEY(col) NOT ENFORCED`, and trying to add few records into the 
iceberg table by spark SQL, right ? 
   
   In this case,  the current `PRIMARY KEY` definitions from flink sql just add 
the equality keys into the iceberg table metadata.  And for iceberg table's 
equality key fields,   the engines won't enforce the uniqueness. that's why we 
don't see the uniqueness rows after we inserted few records by spark SQL. 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to