<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tmongodbinput could not read from Mongo document with array field in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355895#M121535</link>
    <description>Please try using Upsert option in the tMongoDboutput !!</description>
    <pubDate>Mon, 02 Mar 2015 10:49:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-02T10:49:37Z</dc:date>
    <item>
      <title>tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355890#M121530</link>
      <description>Hi, 
&lt;BR /&gt;I could not able to ready mongo array sub-fileds using tmongodbinput. Here is the document , i am trying read. Of this mongo document, I can read StartEvent and EndEvent fields like account_id and end_cause easily. But for fields like report_tag and report_data, i get Exception. Is there a way to read the array fields using tmongodbinput or some other talent components. 
&lt;BR /&gt;{ "_id" : ObjectId("5155a6c3c2e6a95fd5c7d25a"), 
&lt;BR /&gt;"StartEvent" : { "Timestamp": NumberLong("1361769140226"), 
&lt;BR /&gt; "account_id" : "1", 
&lt;BR /&gt; "version" : "2.9.0" }, 
&lt;BR /&gt;"EndEvent" : { "timestamp" : NumberLong("1361769164773") 
&lt;BR /&gt; "end_cause" : "terminated" }, 
&lt;BR /&gt;"Details" : 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;BR /&gt;Exception in component tMongoDBInput_1 
&lt;BR /&gt;java.lang.IllegalArgumentException: BasicBSONList can only work with numeric keys, not: 
&lt;BR /&gt; at org.bson.types.BasicBSONList._getInt(BasicBSONList.java:161) 
&lt;BR /&gt; at org.bson.types.BasicBSONList._getInt(BasicBSONList.java:152) 
&lt;BR /&gt; at org.bson.types.BasicBSONList.get(BasicBSONList.java:104) 
&lt;BR /&gt; at mongo.mongo_calldetails_0_1.Mongo_CallDetails$1DBObjectInputUtil_tMongoDBInput_1.getValue(Mongo_CallDetails.java:611) 
&lt;BR /&gt; at mongo.mongo_calldetails_0_1.Mongo_CallDetails.tMongoDBInput_1Process(Mongo_CallDetails.java:628) 
&lt;BR /&gt; at mongo.mongo_calldetails_0_1.Mongo_CallDetails.runJobInTOS(Mongo_CallDetails.java:960) 
&lt;BR /&gt; at mongo.mongo_calldetails_0_1.Mongo_CallDetails.main(Mongo_CallDetails.java:816)</description>
      <pubDate>Sat, 16 Nov 2024 12:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355890#M121530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355891#M121531</link>
      <description>did you fix this problem?</description>
      <pubDate>Mon, 23 Dec 2013 01:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355891#M121531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-23T01:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355892#M121532</link>
      <description>i downloaded a component off of the talend exchange name tJsonNormalize.&amp;nbsp; i did a tmap off of this to a tPivotColumnDelimited then off that csv i was able to tmap to the output component.&amp;nbsp;</description>
      <pubDate>Sat, 16 Aug 2014 20:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355892#M121532</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-16T20:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355893#M121533</link>
      <description>I am too having the same problem. I cannot retrieve array sub-fields using tmongodbinput. It will be very useful if anyone suggest me answer. I am not getting any error. Rather no values are displayed while using dot operator to represent array of fields. 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt;Priya</description>
      <pubDate>Wed, 03 Sep 2014 08:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355893#M121533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T08:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355894#M121534</link>
      <description>I am having the same problem. Did anyone fix this issue ? 
&lt;BR /&gt;I have that kind of json structure in my mongo collection : 
&lt;BR /&gt;{ 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "id":"1", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "name":"John", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "addresses" : 
&lt;BR /&gt;} 
&lt;BR /&gt;I want to have an output row like : 
&lt;BR /&gt;Is that possible ? 
&lt;BR /&gt;Thanks ! 
&lt;BR /&gt;MC</description>
      <pubDate>Tue, 20 Jan 2015 11:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355894#M121534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-20T11:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355895#M121535</link>
      <description>Please try using Upsert option in the tMongoDboutput !!</description>
      <pubDate>Mon, 02 Mar 2015 10:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355895#M121535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-02T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: tmongodbinput could not read from Mongo document with array field</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355896#M121536</link>
      <description>Maybe this is usefull:&amp;nbsp;</description>
      <pubDate>Tue, 26 May 2015 16:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tmongodbinput-could-not-read-from-Mongo-document-with-array/m-p/2355896#M121536</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-05-26T16:26:44Z</dc:date>
    </item>
  </channel>
</rss>

