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

[C++] Diffing should handle null arrays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.15.0
    • 0.17.0
    • C++

    Description

      When AssertArraysEqual fails between arrays of type null, you get the rather unhelpful message:

      ../src/arrow/compare.cc:964:  Check failed: _s.ok() Operation failed: PrintDiff(left, right, opts.diff_sink())
      Bad status: NotImplemented: formatting diffs between arrays of type null
      In ../src/arrow/array/diff.cc, line 453, code: VisitTypeInline(type, this)
      In ../src/arrow/array/diff.cc, line 825, code: (_error_or_value10).status()
      In ../src/arrow/compare.cc, line 955, code: (_error_or_value4).status()
      

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 50m
                  50m