Skip to content

Commit a2503e0

Browse files
committed
Replace with
1 parent e2dc1e4 commit a2503e0

File tree

4 files changed

+69
-80
lines changed

4 files changed

+69
-80
lines changed

bindings/python/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
- Providing a schema now enforces strict type adherence for data.
99
If a result contains a field whose value does not match the schema's type for that field, a TypeError will be raised.
10+
Note that ``NaN`` is a valid type for all fields.
1011
To suppress these errors and instead silently convert such mismatches to ``NaN``, pass the ``allow_invalid=True`` argument to your ``pymongoarrow`` API call.
1112
For example, a result with a field of type ``int`` but with a string value will now raise a TypeError,
1213
unless ``allow_invalid=True`` is passed, in which case the result's field will have a value of ``NaN``.

0 commit comments

Comments
 (0)