You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/02 20:32:00 UTC

[jira] [Updated] (ARROW-6772) [C++] Add operator== for interfaces with an Equals() method

     [ https://issues.apache.org/jira/browse/ARROW-6772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-6772:
----------------------------------
    Labels: good-first-issue pull-request-available  (was: good-first-issue)

> [C++] Add operator== for interfaces with an Equals() method
> -----------------------------------------------------------
>
>                 Key: ARROW-6772
>                 URL: https://issues.apache.org/jira/browse/ARROW-6772
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Ben Kietzman
>            Assignee: Ben Harkins
>            Priority: Major
>              Labels: good-first-issue, pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> A common pattern in tests is {{ASSERT_TRUE(schm->Equals(*other)}}. The addition of overloaded equality operators will allow this o be written {{ASSERT_EQ(*schm, *other)}}, which is more idiomatic GTEST usage and will allow more informative assertion failure messages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)