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

Function _close

python/pyarrow/tests/parquet/test_metadata.py:224–230  ·  view source on GitHub ↗
(type, left, right)

Source from the content-addressed store, hash-verified

222
223
224def _close(type, left, right):
225 if type == pa.float32():
226 return abs(left - right) < 1E-7
227 elif type == pa.float64():
228 return abs(left - right) < 1E-13
229 else:
230 return left == right
231
232
233# ARROW-6339

Callers 3

FileIsClosedFunction · 0.85
FileCloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected