You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a classical python error, if the year on the DateTime of MongoDB is larger than datetime.MAXYEAR (9999), the pymongo driver returns an error. This is a super easy fix, and the stack trace hints at the it:
Sorry that I don't have time now to submit a PR. If nobody gets to this before, I can try doing it in the weekend. Thank you for DataHub, I really love it
The text was updated successfully, but these errors were encountered:
Describe the bug
This is a classical python error, if the year on the DateTime of MongoDB is larger than
datetime.MAXYEAR
(9999), the pymongo driver returns an error. This is a super easy fix, and the stack trace hints at the it:To Reproduce
Steps to reproduce the behavior:
Expected behavior
DataHub should be able to parse documents with unreasonably large years.
Additional context
I'm on version
0.13.1
.I think the fix would be changing
datahub/ingestion/source/mongodb.py
line 285, and adding the following:Sorry that I don't have time now to submit a PR. If nobody gets to this before, I can try doing it in the weekend. Thank you for DataHub, I really love it
The text was updated successfully, but these errors were encountered: