voonhous opened a new issue, #21077:
URL: https://github.com/apache/hudi/issues/21077

   Part of #17764. Split from #20757; independent of the other sub-issues.
   
   ### Problem
   A merge read of a table with a field that can only hold null (`"null"`, or a 
union of nothing but `"null"`) fails with "No null column type support": the 
read path asks for a column type for it. The Parquet writer does not write such 
a field and Hive sync does not register it.
   
   ### Scope
   - `HudiUtil.isNullOnly`; `appendMissingSchemaColumns`, 
`appendMissingMergeRequiredColumns` and `HudiTrinoReaderContext` skip null-only 
fields. The file-group reader fills them with null, their only value.
   
   ### Exit criteria
   - The non-projection-compatible merger fixture gains an `always_null` field; 
`TestHudiNonProjectionCompatibleMerger` passes with it.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to