You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/03 03:07:16 UTC

[GitHub] [arrow-datafusion] liukun4515 opened a new issue, #2831: Optimization InList: compare the float data type using OrderedFloat

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

   Elsewhere in DataFusion (including in `ScalarValue`) we use `ordered_float` to compare floating point numbers
   
   It might be possible  to use `set::<OrderedFloat<f32>>`, which would be more space efficient (fewer bytes than `ScalarValue`) as well as faster (as the comparison doens't have to dispatch on the type each time)
   
   
   https://github.com/apache/arrow-datafusion/blob/88b88d4360054a85982987aa07b3f3afd2db7d70/datafusion/common/src/scalar.rs#L33
   
   _Originally posted by @alamb in https://github.com/apache/arrow-datafusion/pull/2809#discussion_r912341240_


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] tustvold commented on issue #2831: Optimization InList: compare the float data type using OrderedFloat

Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2831:
URL: https://github.com/apache/arrow-datafusion/issues/2831#issuecomment-1297864812

   FYI https://github.com/apache/arrow-datafusion/issues/4051


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] tustvold closed issue #2831: Optimization InList: compare the float data type using OrderedFloat

Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2831: Optimization InList: compare the float data type using OrderedFloat<T>
URL: https://github.com/apache/arrow-datafusion/issues/2831


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org