wirybeaver opened a new pull request, #1086:
URL: https://github.com/apache/hudi-rs/pull/1086

   ## Motivation
   
   Complete end-to-end unshredded Variant reads after #631, the next step in 
#630. Avro named-type references still reach an unimplemented conversion, 
nullable wrappers lose Variant extension metadata, and generic schema 
projection can discard a shredded payload before reporting that reconstruction 
is unsupported.
   
   ## Modification
   
   Resolve named Avro types and preserve Variant metadata through nullable 
fields and containers. Route Variant tables through the Hudi file-group reader 
in DataFusion so schema reconciliation keeps their payload intact. Leave 
unsupported Variant predicates to DataFusion, and reject shredded projection 
before it can drop `typed_value`; reconstruction belongs to the next reader 
change.
   
   ```text
   Hudi Avro schema -> named-type resolution -> Arrow Variant fields
                                                     |
   COW base / MOR base + logs -> Hudi file-group read -> schema reconciliation
                                                     |
                                          Rust / DataFusion / Arrow bindings
   ```
   
   Preserve upstream's handling of local timestamps and malformed Variant 
records. This replaces [personal PR 
#1](https://github.com/wirybeaver/hudi-rs/pull/1), rebased onto current main.
   
   ## Test
   
   Use pinned, unmodified Spark-produced Hudi v9 fixtures with insert, update 
and delete commits: COW, MOR with Avro records, and MOR with Spark records. 
Read the full tables through the Rust API in snapshot, incremental, time-travel 
and projection modes, comparing decoded Variant values with the producer's 
expected results. Run DataFusion SQL over the same fixtures. A Python MOR read 
checks extension metadata and binary payload transport; a nested nullable Avro 
test verifies the Arrow C Data Interface round trip.
   
   These are fixture-based end-to-end reads; Spark is not launched during each 
run. The shredded fixture is table version 10: only its unchanged Parquet files 
exercise the projection guard, without claiming version-10 table support.
   
   Refs #630.
   


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