yuzelin opened a new pull request, #2485: URL: https://github.com/apache/incubator-paimon/pull/2485
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose <!-- Linking this pull request to the issue --> We cannot retrieve schema with case sensitive because the computed columns rely on the original schema. I refactor the flow: 1. case-sensitive is not involved in the validation, schema retrieving and computed columns building phases; 2. building Paimon schema uses case-sensitive; 3. when parsing records, first we parse all field and evaluate all computed columns, and then we apply case-sensitive conversion. <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this change --> `KafkaCanalSyncTableActionITCase#testComputedColumnWithCaseInsensitive` `MongoDBSyncTableActionITCase#testComputedColumnWithCaseInsensitive` `MySqlSyncTableActionITCase#testComputedColumnWithCaseInsensitive` `MySqlSyncTableActionITCase#testSpecifyKeysWithCaseInsensitive` ### API and Format <!-- Does this change affect API or storage format --> ### Documentation <!-- Does this change introduce a new feature --> -- 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]
