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

Method ApproxEquals

cpp/src/arrow/chunked_array.cc:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170bool ChunkedArray::ApproxEquals(const ChunkedArray& other,
171 const EqualOptions& equal_options) const {
172 auto resolved_options = equal_options;
173 if (!resolved_options.atol()) {
174 resolved_options = resolved_options.atol(kDefaultAbsoluteTolerance);
175 }
176 return Equals(other, resolved_options);
177}
178
179Result<std::shared_ptr<Scalar>> ChunkedArray::GetScalar(int64_t index) const {
180 const auto loc = chunk_resolver_.Resolve(index);

Callers

nothing calls this directly

Calls 1

EqualsFunction · 0.70

Tested by

no test coverage detected