Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: MongoDb Output for array with inner array

  1. #1

    Default MongoDb Output for array with inner array

    Hi All,

    I have a question on the mongoDb output steps setup on the inner array. Kindly advise, many thanks.

    The 1st image below shows the mongodb table with the structure where the poScheduleDetails array is inside the parent poDetails array. The 2nd image shows the Mongodb output steps that I used and 3rd image is the result which is not as expected (the arrays poDetails with 3 elements were created instead of 2 arrays)

    -- expected output
    Name:  po_json.jpg
Views: 79
Size:  19.3 KB

    -- mongodb output
    Name:  mongo_output.jpg
Views: 79
Size:  14.4 KB

    -- unexpected results
    Name:  po_json2.jpg
Views: 75
Size:  18.2 KB
    Attached Images Attached Images   

  2. #2

    Default

    Any help? Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.