cj-zhukov commented on PR #18442:
URL: https://github.com/apache/datafusion/pull/18442#issuecomment-3477860262

   ### High-Level Overview
   This PR consolidates all `flight` examples into a single example binary.
   Previously, each example had its own file, but now they can be executed via 
subcommands using:
   ```bash
   cargo run --example flight -- [server|client|sql_server]
   ```
   While refactoring, I also explored ways to make it simpler to extend in the 
future.
   Specifically, I aimed to construct the available options dynamically from 
the `ExampleKind`, so new subcommands can be added in one place without needing 
to manually update multiple lists.
   
   I chose not to introduce extra dependencies to keep the implementation 
lightweight and dependency-free, while still improving consistency and 
discoverability of example options.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to