mantyk11 opened a new issue, #7687: URL: https://github.com/apache/paimon/issues/7687
### Search before asking - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Paimon version 3.4 ### Compute Engine Spark ### Minimal reproduce step Saving dataframe with append mode is correctly setting the primary key in the schema: <img width="615" height="222" alt="Image" src="https://github.com/user-attachments/assets/cafb644d-a28f-46dc-b99b-b4cd85611d14" /> Schema: <img width="369" height="577" alt="Image" src="https://github.com/user-attachments/assets/c480f0c7-c104-4dd4-ac51-e0e0bc9f51f1" /> But when I try to save dataframe with overwrite mode then primary key is NOT set in the schema: <img width="642" height="222" alt="Image" src="https://github.com/user-attachments/assets/312a0ed8-cff2-4a54-ac7f-c55065b9c45c" /> Schema: <img width="508" height="600" alt="Image" src="https://github.com/user-attachments/assets/186d0b65-bff1-475f-b25d-c1cba7388cdd" /> ### What doesn't meet your expectations? Primary key in is NOT set in paimon table schema ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] 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]
