XiangpengHao commented on issue #7058:
URL: https://github.com/apache/arrow-rs/issues/7058#issuecomment-2643549134

   > Just as a sanity check, could we simplify the reproducer by removing 
reference to flight?
   > 
   > let schema = Schema::new(vec![
   >             Field::new(
   >                 "a",
   >                 DataType::Dictionary(Box::new(DataType::UInt16), 
Box::new(DataType::Utf8)),
   >                 false,
   >             ),
   >             Field::new(
   >                 "b",
   >                 DataType::Dictionary(Box::new(DataType::UInt16), 
Box::new(DataType::Utf8)),
   >                 false,
   >             ),
   >         ]);
   > 
   > let options = IpcWriteOptions::default();
   > let msg = SchemaAsIpc::new(&schema, &options).try_into().unwrap();
   > let new_schema: Schema = msg.try_into().unwrap();
   > assert_eq!(schema, new_schema);
   
   Exactly, it's just IPC not flight related


-- 
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-unsubscr...@arrow.apache.org

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

Reply via email to