jackylee-ch opened a new pull request, #9102:
URL: https://github.com/apache/paimon/pull/9102

   ### Purpose
   
   `LanceRowTypeVisitor.visit(ArrayType)` returned without checking the element 
type, so
   `MULTISET` / `MAP` / `LOCAL_ZONED_TIMESTAMP` passed `validateDataFields` 
when nested in an
   `ARRAY`, even though the visitor rejects them at the top level and recurses 
through `ROW`.
   `ARRAY<MULTISET<...>>` then failed at write time in
   `ArrowFieldTypeConversion.visit(MultisetType)` instead of at `CREATE TABLE`.
   
   Recurse into the element type, same as `VortexFileFormat` (#8690) and 
`MosaicFileFormat`.
   
   ### Tests
   
   `LanceFileFormatTest` — added a rejecting case for `ARRAY<MULTISET<STRING>>` 
and kept
   `ARRAY<ARRAY<INT>>` passing. 7/7 pass; both fail without the fix.
   


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