lei w created HUDI-7436:
---------------------------

             Summary: Not need to reWriteRecord when method 
SchemaCompatibility.checkReaderWriterCompatibility return 
SchemaCompatibilityType.COMPATIBLE
                 Key: HUDI-7436
                 URL: https://issues.apache.org/jira/browse/HUDI-7436
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: lei w


In HoodieMergeHelper#composeSchemaEvolutionTransformer we use this condition 
_sameCols.size() != colNamesFromWriteSchema.size()
          || 
SchemaCompatibility.checkReaderWriterCompatibility(newWriterSchema, 
writeSchemaFromFile).getType() == 
org.apache.avro.SchemaCompatibility.SchemaCompatibilityType.COMPATIBLE_  to 
determine whether we need to rewrite record. The second  condition may need to 
be negated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to