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

[GitHub] [arrow] facetosea commented on issue #34604: How to Send ListOfStruct Data in Row Format in C# using Arrow

facetosea commented on issue #34604:
URL: https://github.com/apache/arrow/issues/34604#issuecomment-1480469935

   > There is no way to do this today. There has been discussion in the past of a "[packed struct](https://lists.apache.org/thread/6s5coljptgk3oc83f6qnds87fvydg86s)" but this has not been adopted and no implementation has been proposed. Sometimes the [fixed size list ](https://arrow.apache.org/docs/format/Columnar.html#fixed-size-list-layout)type can be used but it is not exactly what you are looking for.
   
   Thank you for your reply, it was very helpful. I'm glad to report that my issue has been resolved, and we ended up choosing Column Format data transmission.
   
   I tried using the Schema definition below, it seems to have the effect of "packed struct", it doesn't look very elegant.
   
   > recordType = new StructType(colField);
   >       var recordsType2 = new StructType(new List<Field>() {
   >             new Field("ITEM", recordType, true)
   >     });


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