Not need to reWriteRecord when method SchemaCompatibility.checkReaderWriterCompatibility return SchemaCompatibilityType.COMPATIBLE
Open
from-jira
priority:high
status:pr-available
type:bug
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
In HoodieMergeHelper#composeSchemaEvolutionTransformer we use
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.
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-7436
- Type: Bug
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.