MCPcopy Create free account
hub / github.com/apache/arrow / ApproxCompareBatch

Function ApproxCompareBatch

cpp/src/arrow/testing/gtest_util.cc:563–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563void ApproxCompareBatch(const RecordBatch& left, const RecordBatch& right,
564 bool compare_metadata, const EqualOptions& options) {
565 return CompareBatchWith(left, right, compare_metadata,
566 [&](const Array& left, const Array& right) {
567 return left.ApproxEquals(right, options);
568 });
569}
570
571std::shared_ptr<Array> TweakValidityBit(const std::shared_ptr<Array>& array,
572 int64_t index, bool validity) {

Callers 1

CheckRoundtripFunction · 0.85

Calls 2

CompareBatchWithFunction · 0.85
ApproxEqualsMethod · 0.45

Tested by

no test coverage detected