voonhous opened a new pull request, #21086:
URL: https://github.com/apache/hudi/pull/21086

   ### Describe the issue this Pull Request addresses
   
   Closes #21075. Part of the #20757 split (see #17764).
   
   ### Summary and Changelog
   
   Adds `ParquetReadConversions`, which converts blocks from the type the Trino 
parquet reader can decode a column as to the column's `TrinoTypeMapper` type, 
for the layouts the reader cannot produce directly:
   
   - UUID, stored as a string by default or as an annotated 
FIXED_LEN_BYTE_ARRAY(16): read as varbinary and converted.
   - VECTOR, a bare FIXED_LEN_BYTE_ARRAY of little-endian elements: read as 
varbinary and decoded into an array.
   - TIMESTAMP whose file column misstates its unit (the UTC MICROS label over 
millis that #14161 repairs, and a bare INT64 under a timestamp): read as bigint 
and converted from the table schema's unit.
   
   Nested values convert by walking rows, arrays and maps alongside their 
parquet groups.
   
   ### Impact
   
   None: not wired into any read path yet. Data columns still carry their 
metastore types; #21078 wires the conversions into base-file reads.
   
   ### Risk Level
   
   none
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [x] Adequate tests were added if applicable
   


-- 
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