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

Function CanIgnoreNan

cpp/src/arrow/table.cc:562–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562bool CanIgnoreNan(const Schema& schema, const EqualOptions& opts) {
563 if (opts.nans_equal()) {
564 return true;
565 }
566
567 for (auto& field : schema.fields()) {
568 if (ContainFloat(field->type())) {
569 return false;
570 }
571 }
572 return true;
573}
574
575} // namespace
576

Callers 1

EqualsMethod · 0.85

Calls 3

ContainFloatFunction · 0.85
fieldsMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected