liukun4515 commented on issue #2445:
URL: https://github.com/apache/arrow-rs/issues/2445#issuecomment-1225116252
The define of `GetSchema` is `rpc GetSchema(FlightDescriptor) returns
(SchemaResult) {} ` and the `SchemaResult` is
```
/*
* Wrap the result of a getSchema call
*/
message SchemaResult {
// schema of the dataset as described in Schema.fbs::Schema.
bytes schema = 1;
}
```
In the server side, you can wrap any data as the bytes as the schema, but in
the client side you should use the corresponding decoder to decode the data.
If you want to use the utils or api in c++/go side, you should wrap the data
as the format which should be adapted to the client api.
@skejserjensen I think it is not a bug or issue, just a problem about how
to implement the server api and how to use the client api.
--
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]