kazdy commented on issue #5899: URL: https://github.com/apache/hudi/issues/5899#issuecomment-1160564716
@codope it's related because it also calls for automatic schema evolution with similar logic. With MERGE INTO new fields are being dropped, so once [HUDI-4276](https://issues.apache.org/jira/browse/HUDI-4276) is done it can be used in MERGE INTO I guess? Looking at `MergeIntoHoodieTableCommand` I think the target table schema is always applied on write, so whatever new column was added, it's just being dropped from source DF. Because of this line: `HoodieWriteConfig.WRITE_SCHEMA.key -> getTableSchema.toString` where getTableSchema returns target table schema. -- 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]
