Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB: General backlog #260

Open
4 of 8 tasks
amotl opened this issue Sep 10, 2024 · 0 comments
Open
4 of 8 tasks

MongoDB: General backlog #260

amotl opened this issue Sep 10, 2024 · 0 comments

Comments

@amotl
Copy link
Member

amotl commented Sep 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant