Open kiwamizamurai opened 1 month ago
Hey @kiwamizamurai thanks for feedback. I am wondering if you are using our mongodb source if so then you can adjust it and make explicit conversion like?
def convert_mongo_objs(value: Any) -> Any:
if isinstance(value, (ObjectId, Decimal128)):
return str(value)
if isinstance(value, _datetime.datetime):
return ensure_pendulum_datetime(value)
return value
@IlyaFaer my take is that we are not translating several basic bson types to Python types. could you take a look?
what we need is
dlt version
0.4.10
Describe the problem
I cannot do elt from mongodb atlas to bigquery, especially ingestion from mongo
Actually, this problem resides within the dependent package
orjson
and there is an opening issue. https://github.com/ijl/orjson/issues/442Error message
https://mongodb.github.io/node-mongodb-native/4.0/interfaces/clustertime.html
Expected behavior
no error occur and the elt finishes successfully
Steps to reproduce
working on it
Operating system
macOS
Runtime environment
Local
Python version
3.11
dlt data source
mongo
dlt destination
Google BigQuery
Other deployment details
Referred this article
Additional information
No response