liukun4515 commented on issue #13853:
URL: https://github.com/apache/arrow/issues/13853#issuecomment-1223648493

   > @agneborn98 It looks like it's an issue with the Rust server. I'm going to 
guess that they made a similar mistake to one I made with my original 
implementation of the Go Flight server/client.
   > 
   > The original .proto file appeared to claim that the return from 
SchemaResult should just be the FlatBuffers Schema message on it's own. But the 
convention that was established by the C++ and Java implementations was that it 
should be a full IPC encoded schema message, so my original implementations 
didn't interact well with those until I fixed it to be a full IPC encoded 
message. It's possible the Rust server implementation makes the same mistake? 
Not sure.
   > 
   
   why c++ java return the full IPC encoded schema message for the method 
`GetSchema` defined in the `.proto` or not the 
   FlatBuffer for the schema message?
   
   > But given that you're getting a similar issue from two different flight 
client implementations, i'm inclined to think the issue is with the Rust 
server.... but I'm not familiar enough with rust to debug that.
   
   
   Hi @zeroshade , I from arrow-rs community and try to resolve 
https://github.com/apache/arrow-rs/issues/2445 about the `get_schema`.
   
   I think the gab between arrow-rs and c++/go is the different implementation 
for the `GetSchema`.
   As description from @zeroshade , the c++/go will convert the schema to the 
full flight message, but the rust don't do like that, the rust just return the 
bytes from the flatbuffer.
   


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