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

Function CanIgnoreNan

cpp/src/arrow/table.cc:553–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553bool CanIgnoreNan(const Schema& schema, const EqualOptions& opts) {
554 if (opts.nans_equal()) {
555 return true;
556 }
557
558 for (auto& field : schema.fields()) {
559 if (ContainFloat(field->type())) {
560 return false;
561 }
562 }
563 return true;
564}
565
566} // namespace
567

Callers 1

EqualsMethod · 0.85

Calls 4

ContainFloatFunction · 0.85
nans_equalMethod · 0.80
fieldsMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected