| 332 | } |
| 333 | |
| 334 | bool 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 |
no test coverage detected