Coder Social home page Coder Social logo

Comments (12)

wangxiaoyou1993 avatar wangxiaoyou1993 commented on May 24, 2024

@DevBey can you share the traceback or stacktrace?

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

Hello @wangxiaoyou1993,

but this is the only log we get for this, apologies but please let me know if I am missing anything

INFO:cold_sea/2/20240418T113235:{"pipeline_run_id": 5, "pipeline_schedule_id": 2, "pipeline_uuid": "cold_sea", "hostname": "d89761f2784e", "level": "INFO", "message": "[MongoSource] Error reading from MongoDB: Circular reference detected", "timestamp": 1713463027.410202, "uuid": "cae3c7f1925a44a49a101c916d5f1a58"}

from mage-ai.

wangxiaoyou1993 avatar wangxiaoyou1993 commented on May 24, 2024

@DevBey can you run the pipeline in the editor page and see there's stacktrace?

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

apologies but how ?? @wangxiaoyou1993

image

from mage-ai.

wangxiaoyou1993 avatar wangxiaoyou1993 commented on May 24, 2024

@DevBey you should have the button to execute the pipeline. You can cancel editing dependency and you'll see the button.
image

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

yep @wangxiaoyou1993 we tried this same traceback, apart from this just logs of message received and message being inserted into postgres with the mongodb document.

then this error, no other trackback.
image

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

Hello @wangxiaoyou1993,

could you please help with any update on this ??

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

Hello @wangxiaoyou1993,

quick update on this, mongdb to postgres streaming does work in case we do some kind of transformation and then pass on it to postgres data exporter.

from mage-ai.

wangxiaoyou1993 avatar wangxiaoyou1993 commented on May 24, 2024

Hello @wangxiaoyou1993,

quick update on this, mongdb to postgres streaming does work in case we do some kind of transformation and then pass on it to postgres data exporter.

What transformation did you add?

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

nothing much just few custom transforms that we do for data type issues like dates etc.

we figured that mongodb issue would be eliminated if we instead of passing mongodb loader to postgres exporter directly just, do some kind of initial transform and then pass on the message to postgres exporter and it worked.

from mage-ai.

wangxiaoyou1993 avatar wangxiaoyou1993 commented on May 24, 2024

nothing much just few custom transforms that we do for data type issues like dates etc.

we figured that mongodb issue would be eliminated if we instead of passing mongodb loader to postgres exporter directly just, do some kind of initial transform and then pass on the message to postgres exporter and it worked.

Thanks for the info! Will test with the dates type.

from mage-ai.

DevBey avatar DevBey commented on May 24, 2024

apologies but my hunch is that I don't think it's related to any particular datatype. it's a generaly issue when fetching data from mongodb and dumping into Postgres. it works MongoDB to MongoDB

from mage-ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.