tanruixiang opened a new issue, #6784:
URL: https://github.com/apache/arrow-datafusion/issues/6784

   ### Describe the bug
   
   One of the simplest sql statements: `select * from table`; In the 
construction of the logical plan, `Projection` will use `to_field` at the 
bottom to construct `DFField`, and then `to_field` ignore the `dict_id`, which 
will lead to the use of `IPC` when the dictionary encoding error.
   
   We are happy to contribute to the community and solve this problem.
   To solve this problem, it may be necessary to add interfaces to the 
`ExprSchema`, for example by adding `dict_is_ordered` and `dict_id` interfaces, 
or by adding a direct `get_dffield` interface. Or there is a better way other 
than the two mentioned above. Both methods have a certain amount of work and we 
are not sure which one to use or if there is a better way. We hope community 
can provide some comments and help.
   
   Here is a draft of one of the methods:
   https://github.com/CeresDB/arrow-datafusion/pull/3
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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