You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Dandandan (via GitHub)" <gi...@apache.org> on 2023/06/21 07:13:09 UTC

[GitHub] [arrow-rs] Dandandan opened a new issue, #4438: Equality kernel where null==null gives true

Dandandan opened a new issue, #4438:
URL: https://github.com/apache/arrow-rs/issues/4438

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   Some operations might need that `null==null` gives back `true` instead of null.
   
   https://github.com/apache/arrow-datafusion/pull/6724
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   An equality kernel with null==null -> `true`. 
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features you've considered.
   -->
   In the PR https://github.com/apache/arrow-datafusion/pull/6724 an alternative implementation can be found:
   
   ```rust
               let eq: BooleanArray = eq_dyn(left, right)?;
   
               let left_is_null = is_null(left)?;
               let right_is_null = is_null(right)?;
   
               or_kleene(&and(&left_is_null, &right_is_null)?, &eq)
   ```
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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-rs] tustvold closed issue #4438: Equality kernel where null==null gives true

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #4438: Equality kernel where null==null gives true 
URL: https://github.com/apache/arrow-rs/issues/4438


-- 
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-rs] tustvold commented on issue #4438: Equality kernel where null==null gives true

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4438:
URL: https://github.com/apache/arrow-rs/issues/4438#issuecomment-1683846514

   I believe this is the same as `IS NOT DISTINCT FROM`, I'll see what I can come up with


-- 
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-rs] tustvold commented on issue #4438: Equality kernel where null==null gives true

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4438:
URL: https://github.com/apache/arrow-rs/issues/4438#issuecomment-1686507525

   `label_issue.py` automatically added labels {'arrow'} from #4716


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