You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/05/27 02:44:00 UTC
[jira] [Comment Edited] (ARROW-8956) [C++] arrow::ScalarEquals
returns false when values are both null
[ https://issues.apache.org/jira/browse/ARROW-8956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117254#comment-17117254 ]
Wes McKinney edited comment on ARROW-8956 at 5/27/20, 2:43 AM:
---------------------------------------------------------------
The only options for this function at the moment are true or false
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compare.h#L114
This is data structure equality, not elementwise analytic equality
was (Author: wesmckinn):
The only options for this function at the moment are true or false
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compare.h#L114
> [C++] arrow::ScalarEquals returns false when values are both null
> -----------------------------------------------------------------
>
> Key: ARROW-8956
> URL: https://issues.apache.org/jira/browse/ARROW-8956
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
>
> I wasn't sure if this was deliberate but it appeared while writing unit tests and so wanted to check what was the intention before changing it. Arrays compare equal when null slots are respectively null so this seems inconsistent.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)