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

Function ApproxCompareBatch

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

Source from the content-addressed store, hash-verified

569}
570
571void ApproxCompareBatch(const RecordBatch& left, const RecordBatch& right,
572 bool compare_metadata, const EqualOptions& options) {
573 return CompareBatchWith(left, right, compare_metadata,
574 [&](const Array& left, const Array& right) {
575 return left.ApproxEquals(right, options);
576 });
577}
578
579std::shared_ptr<Array> TweakValidityBit(const std::shared_ptr<Array>& array,
580 int64_t index, bool validity) {

Callers 1

CheckRoundtripFunction · 0.85

Calls 2

CompareBatchWithFunction · 0.85
ApproxEqualsMethod · 0.45

Tested by

no test coverage detected