xiarixiaoyao commented on a change in pull request #4910:
URL: https://github.com/apache/hudi/pull/4910#discussion_r840176540
##########
File path:
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/compact/HoodieCompactor.java
##########
@@ -117,8 +120,10 @@ public abstract void preCompact(
// log file.That is because in the case of MergeInto, the config.getSchema
may not
// the same with the table schema.
try {
- Schema readerSchema = schemaResolver.getTableAvroSchema(false);
- config.setSchema(readerSchema.toString());
+ if (StringUtils.isNullOrEmpty(config.getInternalSchema())) {
Review comment:
yes
--
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]