apache / apache/hudi

Not need to reWriteRecord when method SchemaCompatibility.checkReaderWriterCompatibility return SchemaCompatibilityType.COMPATIBLE

Open
#16,401 2 comments 0 reactions 1 assignee Claimed by @xushiyan View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.