Forum Discussion

vgautam64's avatar
vgautam64
New Contributor III
2 years ago

Join Snap Left Path reading from right input view.

I am facing a weird problem with the Join snap. It looks like the path I provide in the Left Path property is reading documents from the Right input view even though the right input view is correctly set to input1.

Similarly, the path I use on the Right Path property first reads the documents from the right input view and then starts reading them from the left input view.

 

Any help is much appreciated. Let me know if you need more details.

7 Replies

  • bojanvelevski's avatar
    bojanvelevski
    Valued Contributor

    I wouldn't say the snap is mixing the inputs but one of the input documents is missing the field you have stated in the snap. To confirm that, you can use a router with $Worker_Document_Data.hasPath('ID') and !$Worker_Document_Data.hasPath('ID'). That way you will see if one (or more) documents go to the other output. Additionally you can write it down to a file to check which record is that.

    Regards,

    Bojan

    • vgautam64's avatar
      vgautam64
      New Contributor III

      I also used a router to check the field and it does not send any document to other view

       

    • vgautam64's avatar
      vgautam64
      New Contributor III

      Just to be double sure, I connected the routers output0 to join input0 and I still see the same errors. Either there is something wrong with the Join Snap or I am missing something.

  • vgautam64's avatar
    vgautam64
    New Contributor III

    I have the following input schema on input0 and input1 views, but sure I can check with the router setup.
    input0:


    input1:

     

  • darshthakkar's avatar
    darshthakkar
    Valued Contributor

    vgautam64 - Please share your sample data and pipeline so that I can look into it. I can say for sure that there is nothing wrong with the Join snap, we might be overlooking something in the pipeline itself.

    Thanks.


    Best Regards.

    Darsh