waymost opened a new issue, #3864:
URL: https://github.com/apache/arrow-rs/issues/3864

   **Describe the bug**
   When I attempt to `#[derive(ParquetRecordWriter)]` on a struct that contains 
fields of type `Vec<u8>`, the proc-macro panics.
   
   **To Reproduce**
   ```
   #[derive(ParquetRecordWriter)]
   pub struct Row {
     foo: Vec<u8>,
   }
   ```
   
   results in
   
   ```
   message: not implemented: Unsupported: Vec(
       TypePath(
           Path(
               TypePath {
                   qself: None,
                   path: Path {
                       leading_colon: None,
                       segments: [
                           PathSegment {
                               ident: Ident {
                                   ident: "u8",
                                   span: #0 bytes(4505..4507),
                               },
                               arguments: None,
                           },
                       ],
                   },
               },
           ),
       ),
   )
   ```
   
   **Expected behavior**
   Macro successfully generates the code to write a Vec<u8> to a parquet file.
   
   **Additional context**
   Support for `Vec<u8>` is explicitly mentioned in the `parquet_derive` 
readme, but a field of that type is not present in the integration test crate 
(separately, neither is `Uuid`).


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