You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "rahil-c (via GitHub)" <gi...@apache.org> on 2026/10/05 22:19:50 UTC
[I] Record index updates fail forever after a first commit that carries no schema [hudi]
rahil-c opened a new issue, #20204:
URL: https://github.com/apache/hudi/issues/20204
If the first completed commit of a table carries no schema, every later commit on a record-index table fails, so the table can never be written to again.
This happens when the first commit is empty and written with a null writer schema, for example a Hudi Streamer sync whose source returned no data. CommitUtils stores the schema as an empty string, nothing else records one, and the record index update for the next data commit calls HoodieTableMetadataUtil#tryResolveSchemaForTable, which throws:
HoodieException: Failed to generate RLI records for metadata table
Caused by: HoodieException: Failed to get latest columns for <basePath>
Caused by: HoodieSchemaNotFoundException: No schema found for table at <basePath>
tryResolveSchemaForTable already returns Option.empty() when the table has no completed commit, and its callers handle that. A completed commit without a schema is the same situation and should resolve the same way instead of failing the write.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Record index updates fail forever after a first commit that carries no schema [hudi]
Posted by "rahil-c (via GitHub)" <gi...@apache.org>.
rahil-c commented on issue #20204:
URL: https://github.com/apache/hudi/issues/20204#issuecomment-6004554519
Fix in #20205.
--
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