Uploaded image for project: 'pymongoarrow'
  1. pymongoarrow
  2. ARROW-176

Nested extension objects are not handled in auto schema

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.0.2
    • Affects Version/s: None
    • Component/s: Schemas
    • None

      Reported by GitHub user @sibbiii in https://github.com/mongodb-labs/mongo-arrow/issues/163. We should add use their repro as a test and fix the bug.

         collection = ...
          obj_id = bson.ObjectId()
      
          collection.insert_one(
              {'_id': obj_id,
               'id1': obj_id,
               'obj': {'id2': obj_id}
               })
      
          print(pymongoarrow.api.find_arrow_all(collection, {}))
          print(pymongoarrow.api.find_arrow_all(collection, {}).to_pandas())
      

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: