Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9495

[C++] Equality assertions don't handle Inf / -Inf properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • C++

    Description

      I got this error when working on a PR which added unit tests:

      ../src/arrow/testing/gtest_util.cc:101: Failure
      Failed
      Expected:
        [
          2.5,
          inf,
          -inf
        ]
      Actual:
        [
          2.5,
          inf,
          -inf
        ]
      

      Attachments

        Issue Links

          Activity

            People

              fan_li_ya Liya Fan
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h