You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "waymost (via GitHub)" <gi...@apache.org> on 2023/03/14 23:46:27 UTC

[GitHub] [arrow-rs] waymost opened a new issue, #3864: parquet_derive doesn't support Vec

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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold commented on issue #3864: parquet_derive doesn't support Vec

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3864:
URL: https://github.com/apache/arrow-rs/issues/3864#issuecomment-1483133333

   `label_issue.py` automatically added labels {'parquet'} from #3878


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] alamb closed issue #3864: parquet_derive doesn't support Vec

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #3864: parquet_derive doesn't support Vec<u8>
URL: https://github.com/apache/arrow-rs/issues/3864


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold commented on issue #3864: parquet_derive doesn't support Vec

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3864:
URL: https://github.com/apache/arrow-rs/issues/3864#issuecomment-1483133378

   `label_issue.py` automatically added labels {'parquet-derive'} from #3878


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org