FANNG1 opened a new pull request, #13390:
URL: https://github.com/apache/gravitino/pull/13390

   ### What changes were proposed in this pull request?
   
   - Convert Arrow fields with metadata to `ExternalType` before native type 
mapping.
   - Preserve the complete Arrow field JSON, including metadata and children, 
during round trips.
   - Add blob v2 and nested metadata round-trip coverage.
   
   ### Why are the changes needed?
   
   Arrow metadata on otherwise supported fields, including Lance blob v2 
structs, was silently discarded when converted to native Gravitino types. The 
reverse conversion could not restore that metadata, causing schema fidelity 
loss.
   
   Fix: #13338
   
   ### Does this PR introduce _any_ user-facing change?
   
   No new public API or property key is introduced. Fields carrying Arrow 
metadata that Gravitino cannot represent are now exposed as `ExternalType` 
rather than a lossy native type.
   
   ### How was this patch tested?
   
   `./gradlew :lance:lance-common:spotlessApply :lance:lance-common:test 
--tests 
org.apache.gravitino.lance.common.ops.gravitino.TestLanceDataTypeConverter`
   


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