Skip to content

MongoDB: General backlog #260

Open
Open
@amotl

Description

About

A few backlog items picked up from previous patches.

  • Support reading MongoDB Extended JSON and BSON files
  • Support real-world data
  • Optionally use a query instead of reading the whole collection
  • Support reading JSON+BSON files from HTTP
  • Cover more data types
  • Performance improvements
  • Bug: "created_at" : { "$date" : 1180690093000 } leads to:
      File "/path/to/commons_codec/transform/mongodb.py", line 124, in decode_extended_json
        is_date_numberlong = type_ == "$date" and "$numberLong" in value["$date"]
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    TypeError: argument of type 'int' is not iterable
  • Bug: BulkProcessor does not properly account for INSERT OK, 0 rows affected (0.002 sec). That happens when inserting arrays including items deviating in structure {"data": [{"value": 4.42}, {"value": {"percentage": 55}}]}.

References

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions