Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
-
4
Description
Currently, `TableSchemaResolver` to pass `includeMetadataFields` in its APIs that would selectively remove metadata fields from the returned schemas. There are multiple issues with this flag:
- It's applied inconsistently: sometimes it just means that meta fields won't be added, and sometimes it means fields would be removed even if present
- This flag actually spells the usage context into TableSchemaResolver: it's highly contextual whether caller wants to remove, omit such meta-fields, or take the schema as is and should not be spilled into the Resolver itself.
- B/c of it there's no way to know actually what was actual schema the data was written with (b/c flag might not only omit, but also change the original schema)
Attachments
Issue Links
- is related to
-
HUDI-4176 TableSchemaResolver fetches/parses HoodieCommitMetadata multiple times while extracting Schema
- Closed