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

   `VortexFormatWriter::new` handed the Arrow schema straight to 
`DType::from_arrow`, which ends in `unimplemented!()` for any Arrow type it has 
no arm for. `Map` is one of those, and `paimon_type_to_arrow` builds a `Map` 
for both MAP and MULTISET — so writing a vortex table with either column 
aborted the process at writer construction instead of returning an error. 
Reproduced through `create_table` -> `new_write()` -> `write_arrow_batch`.
   
   Screen the schema before the conversion and return `Error::Unsupported` 
naming the column, following `validate_mosaic_schema`.
   
   The check is on the Arrow schema, not `write_fields`: `kv_file_writer` and 
`postpone_file_writer` both pass `write_fields: None`, so a `DataField`-based 
check would silently skip the primary-key write path.
   


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