Add Pola-rs ExtensionTypes support for Binary, ObjectId, Code, and Decimal128

XMLWordPrintableJSON

    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • 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

            Assignee:
            Noah Stapp
            Reporter:
            Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: