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

Function CanIgnoreNaNInEquality

cpp/src/arrow/record_batch.cc:333–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333bool CanIgnoreNaNInEquality(const RecordBatch& batch, const EqualOptions& opts) {
334 if (opts.nans_equal()) {
335 return true;
336 } else if (!ContainFloatType(*batch.schema())) {
337 return true;
338 } else {
339 return false;
340 }
341}
342
343} // namespace
344

Callers 1

EqualsMethod · 0.85

Calls 2

ContainFloatTypeFunction · 0.85
schemaMethod · 0.45

Tested by

no test coverage detected