tanruixiang commented on issue #6784:
URL: 
https://github.com/apache/arrow-datafusion/issues/6784#issuecomment-1616345871

   Thank you very much for your reply. I think that after providing a 
reasonable `provider`, `dict_id` should not be lost when building the plan, 
because `dict_id` and other variables such as `name` are located at the same 
level(In `pub struct Field`), and since `name` will not be lost, `dict_id` 
should not be lost either.
   At the same time we get the `name`, we can get the `dict_id`, so we need to 
keep the `dict_id` at least for the whole process of building the plan. (In 
particular, I think it's always better to keep the `dict_id` as much as 
possible than to just discard it and use the `default value`).


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