double-free commented on issue #5716:
URL: https://github.com/apache/arrow-rs/issues/5716#issuecomment-2094126511

   > What happens if you specify the field as `Option` to match the schema?
   
   I have tried, it does not work, because:
   1. the OPTIONAL, REQUIRED, REPEATED tags are generated automatically in the 
macro.
   2. even I workaround 1 by enforce the field to be OPTIONAL, the actual 
parsing code, i.e.:
   ```rust
   typed.read_records(num_records, None, None, &mut vals)?;
   ```
   is not dynamic and still provide no definition level.


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