Rich-T-kid opened a new pull request, #11897:
URL: https://github.com/apache/arrow-rs/pull/11897

   # Which issue does this PR close?
   
   - Closes #7049
   
   # Why
   
   The Flight crate links to its examples but does not show how to run a 
complete `GetFlightInfo` and `DoGet` flow. Without an end-to-end example, it is 
easy to construct `FlightData` fields as arbitrary IPC buffers and produce 
opaque decode failures.
   
   # What changed
   
   - Add runnable server and client commands for listing Flight SQL database 
schemas.
   - Show the expected schema-listing output.
   - Explain the `GetFlightInfo` → endpoint ticket → `DoGet` flow.
   - Point users to `FlightInfo::try_with_schema` and 
`FlightDataEncoderBuilder` for correctly framed protocol messages.
   
   # Results
   
   The documented client command returns the `flight_sql` catalog and `example` 
schema from the bundled server without decode errors. This is 
documentation-only and does not change APIs or runtime behavior.
   
   # Test coverage
   
   The documented server/client flow was exercised end to end. The existing 
`flight_sql_server` example tests also pass.


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