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

Function ApproxEquals

cpp/src/arrow/record_batch.h:143–146  ·  view source on GitHub ↗

\brief Determine if two record batches are approximately equal \param[in] other the RecordBatch to compare with \param[in] opts the options for equality comparisons \return true if batches are approximately equal

Source from the content-addressed store, hash-verified

141 /// \param[in] opts the options for equality comparisons
142 /// \return true if batches are approximately equal
143 bool ApproxEquals(const RecordBatch& other,
144 const EqualOptions& opts = EqualOptions::Defaults()) const {
145 return Equals(other, opts.use_schema(false).use_atol(true));
146 }
147
148 /// \return the record batch's schema
149 const std::shared_ptr<Schema>& schema() const { return schema_; }

Callers 1

ApproxEqualsMethod · 0.85

Calls 4

use_atolMethod · 0.80
use_schemaMethod · 0.80
DefaultsFunction · 0.70
EqualsFunction · 0.70

Tested by

no test coverage detected