You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/08/15 17:42:17 UTC
[GitHub] [hudi] nsivabalan commented on issue #6342: [SUPPORT] Reconcile schema fails when multiple fields missing
nsivabalan commented on issue #6342:
URL: https://github.com/apache/hudi/issues/6342#issuecomment-1215479286
reconcilation of schemas work only if missing columns are in the end.
For eg:
Commit1:
Schema: col1, col2, col3, col4
Commit2:
Schema: col1, col2, col3, col4, col5, col6
Commit3: old writer.
Schema: col1, col2, col3, col4
Commit3 will succeed when you enable reconcile schema config.
In general, adding new colunmns at the end of existing schema works. it may break if you try to add new columns inbetween. for eg, in commit2, if your schema as col1, col5, col6, col2, col3, col4, your write or read may break.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org