Parquet writing examples/macro/guidance #59
Unanswered
lyuben-todorov
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Thanks a lot for reaching out! Some questions:
If all are yes, then I would try using If 1 or 2 is negative, I would try out If 3 is negative, we still do not support it in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a long-standing puzzle with parquet's presence in rust.
My end-goal is to be able to write parquet files containing my data in rust in an efficient manner (no json, senseless conversions, etc.). For this my logical approach would be to look for/make my own derive macro for Parquet writers for structs. However, the
parquet_derive
crate is lacking a lot of features (nested structures) and according to ASF slack isn't really actively developed at the moment. I tried implementing a derive macro for an Arrow RecordBatch writer (from the arrow crate) but I quickly ran into problems with using the arrow crate itself. And because of that experience I'm really starting to think that writing parquet in anything other than Java was not meant to be, but that is still not the theoretical case.I'm asking the maintainer as a person with more experience with the parquet format and ecosystem, are my goals possible? If yes, could you please provide me some guidance on what would need to be done, what's the best way to approach it and maybe a code example of implementing the conversion of data (Vec) into a parquet file.
Beta Was this translation helpful? Give feedback.
All reactions