ch-sc opened a new issue, #4919:
URL: https://github.com/apache/arrow-rs/issues/4919

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Related datafusion issue: 
https://github.com/apache/arrow-datafusion/issues/3214
   
   I would like to order fields of a schema based on the datatype's memory size 
to find the column with the presumable lowest memory footprint at query 
planning time.
   
   **Describe the solution you'd like**
   
   Implement `Ord` for `DataType` and base `cmp` on memory size.
   
   **Describe alternatives you've considered**
   
   --
   
   **Additional context**
   
   --
   


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