Tangruilin commented on issue #7749:
URL: 
https://github.com/apache/arrow-datafusion/issues/7749#issuecomment-1752052104

   > > when i get the result with (string), (float).etc cols. I found that 
[batches_to_vec](https://github.com/apache/arrow-datafusion/blob/main/test-utils/src/lib.rs#L31)
 can only work for i32. May be I need a another way to convert record batches 
to vec, are there any suggestions?
   > 
   > I would actually recommend doing it the otherway around:
   > 
   > 1. Create the data with a `Vec`
   > 2. Figure out what the expected answer is
   > 3. Convert the Vec to `RecordBatch`
   > 
   > Does that make sense?
   
   For 2 >  The expected answer will be three types. I consider to use Generics 
to solve it, but different type need to use different arrow Array, so it seems 
can not solve.


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