brancz commented on issue #5981:
URL: https://github.com/apache/arrow-rs/issues/5981#issuecomment-2333974071

   > Now that dict IDs are automatically assigned, how about we create a new 
type eg. `FlightSchema` and `FlightField` in the flight crate that are created 
in `prepare_schema_for_flight` and wrap the canonical `Schema` and `Field`? 
Then we can remove `dict_id` from `Field`.
   
   After trying to apply this change I realize it's actually entirely useless 
since like you said, after 1 and 2 there won't be any use for `dict_id` 
anymore. Since the dict ID is just set in the `prepare_schema_for_flight` 
function on the dict tracker directly.


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