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

Function CanIgnoreNaNInEquality

cpp/src/arrow/record_batch.cc:334–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

EqualsMethod · 0.85

Calls 3

ContainFloatTypeFunction · 0.85
nans_equalMethod · 0.80
schemaMethod · 0.45

Tested by

no test coverage detected