-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: pymongoarrow
-
None
Context
Arrow and Pandas both support ExtensionType which allow a developer to create their own types, subclassed from existing, supported ones.
We use ExtensionType support for ObjectId, Code, and Decimal128. We should maintain these types for consistency of data across tables and dataframes in Polars.
There are reference implementations on how we do this for Arrow and Pandas that can help speed up the work required here.
Helpful Hint: Grep for Decimal128 and ObjectId in Arrow to see how it's used in the code. Will be very similar to pandas_types.py
Acceptance Criteria
Get Polars ExtensionType support for ObjectId, Code, and Decimal128
Pitfalls
N/A
- is related to
-
INTPYTHON-238 Add Support for nested ObjectIDs in polars conversion
-
- Closed
-
- related to
-
INTPYTHON-197 Add support for Polars in PyMongoArrow
-
- Closed
-
-
INTPYTHON-462 Converting String to ObjectId and then writing to MongoDb using PyMongoArrow
-
- Closed
-
-
INTPYTHON-853 [pymongoarrow] Update tests for polars 1.36.0
-
- Closed
-