Exceeded post limit, Problem in 1st comment
Expected
I should see output of 2 items base on input merged on ID.
I should see output of 2 items base on input merged on ID.
Just exceeded post limit
I’m trying to analyze some posts JSON data results, each post element (media, caption, comments, etc…) is analyzed differently so I router the data based on some rules.
After processing is done, I need to merge them again into a single structured format based on ID (data is coming from the same source so there always be a matching ID), but the Merge Node doesn’t handle this as expected and only 1 item is produced if for example I input 2 items
I can see the upper branch outputs labeled “2 items total” and input before merge is split on 2 runs as shown below, does this have any thing related to this issue?
You are using the Merge node on Combine mode, which will eventually turn input items into a single item. Use Append mode instead, that would solve your issue. Check documentation on Merge Node for detailed explanation.
Append mode just smashes all inputs together & gives you a final list of them all. That’s not what I intend to, I want to merge each analyzed media + corresponding analyzed text back together.
I guess I understood, you wanted to say I should use Merge first in Append mode to append upper branch runs into a single list, this list then will be compared against the lower branch.
It worked! Thanks a lot💚
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.