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

[GitHub] [arrow-rs] alamb commented on a diff in pull request #3979: Add serde support to RawDecoder (#3949)

alamb commented on code in PR #3979:
URL: https://github.com/apache/arrow-rs/pull/3979#discussion_r1153235995


##########
arrow-json/src/raw/mod.rs:
##########
@@ -233,6 +235,38 @@ impl RawDecoder {
         self.tape_decoder.decode(buf)
     }
 
+    /// Serialize `rows` to this [`RawDecoder`]

Review Comment:
   I think a more compelling example would be to implement some struct 
   ```
   struct MyRow  {
     field: i32,
     name:  String
   }
   ```
   And demonstrate how to turn that into a `RecordBatch`



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