Running into this strange error attempting to create an Arrow table with the ObjectId type.
[4:55 PM] coll = self.coll.with_options(codec_options=DEFAULT_CODEC_OPTIONS.with_options(uuid_representation=UuidRepresentation.STANDARD)) schema = \{"_id": ObjectIdType()} data = Table.from_pydict( \{"_id": [ObjectId().binary]}, ArrowSchema(schema), ) [4:55 PM] (python3.8) ➜ python git:(ARROW-71) ✗ python -m unittest discover test -k test_arrow -f .........E ====================================================================== ERROR: test_write_codec_options (test_arrow.TestArrowExplicitApi) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/julius/Work/mongo-arrow/bindings/python/test/test_arrow.py", line 258, in test_write_codec_options data = Table.from_pydict( File "pyarrow/table.pxi", line 1868, in pyarrow.lib.Table.from_pydict File "pyarrow/table.pxi", line 2675, in pyarrow.lib._from_pydict File "pyarrow/array.pxi", line 342, in pyarrow.lib.asarray File "pyarrow/array.pxi", line 316, in pyarrow.lib.array File "pyarrow/array.pxi", line 39, in pyarrow.lib._sequence_to_array File "pyarrow/error.pxi", line 143, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 120, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: extension ---------------------------------------------------------------------- Ran 10 tests in 8.341s
- is related to
-
INTPYTHON-89 Allow optional schema on write()
- Closed
-
INTPYTHON-137 Remove workarounds for extension types in test suite
- Closed
- related to
-
INTPYTHON-96 Open upstream ARROW Jira Tickets for Extension Type Limitations
- Closed