schnappi17 opened a new issue, #1782: URL: https://github.com/apache/incubator-paimon/issues/1782
### Search before asking - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar. ### Motivation Now we have table schema validation on WriteMode.APPEND_ONLY and changelog-produer not NONE. This can throw runtime exception when users set the writeMode to APPEND_ONLY explicitly. But when there is a table without primary key and user set the changelog-producer to something else but not NONE, this validation is passed at first because the writeMode is AUTO when validating. Then paimon will help users to set the writeMode to APPEND_ONLY because there is no primary key in table. Thus we have a table without primary key, with writeMode APPEND_ONLY and changelog-producer != NONE. This will cause the reader waiting for changelog files but the writer doesn't have any changelog to write. ### Solution _No response_ ### Anything else? _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]
