<?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 Creating and inserting a Map into Cassandra in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-and-inserting-a-Map-into-Cassandra/m-p/2372741#M135548</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following issue when importing MsSQLServer data into Cassandra:&lt;/P&gt;
&lt;P&gt;I need to import several MsSQLServer tables with varying number of fields into a single Cassandra Table with a 'Map' data type field. I'm having trouble combining, for instance, 5 fields of a schema into one object and inserting into the map in Cassandra.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My current approach was trying to use literal statements with bound variables (e.g "Insert into xx (id,map) values ('whatever', {'nonsense': ?});"), but that does not work, and the following error message pops up&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- "Invalid map literal for sensors: bind variables are not supported inside collection literals"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the correct approach create a Java Object for each of the different MsSQLServer tables and then inserting it as follows:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- "Insert into xx (id, map) values (?,?);"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if so, how would I be able to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would really appreciate some help.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Oct 2017 19:21:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-08T19:21:08Z</dc:date>
    <item>
      <title>Creating and inserting a Map into Cassandra</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-and-inserting-a-Map-into-Cassandra/m-p/2372741#M135548</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following issue when importing MsSQLServer data into Cassandra:&lt;/P&gt;
&lt;P&gt;I need to import several MsSQLServer tables with varying number of fields into a single Cassandra Table with a 'Map' data type field. I'm having trouble combining, for instance, 5 fields of a schema into one object and inserting into the map in Cassandra.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My current approach was trying to use literal statements with bound variables (e.g "Insert into xx (id,map) values ('whatever', {'nonsense': ?});"), but that does not work, and the following error message pops up&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- "Invalid map literal for sensors: bind variables are not supported inside collection literals"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the correct approach create a Java Object for each of the different MsSQLServer tables and then inserting it as follows:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;- "Insert into xx (id, map) values (?,?);"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if so, how would I be able to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would really appreciate some help.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2017 19:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-and-inserting-a-Map-into-Cassandra/m-p/2372741#M135548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-08T19:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating and inserting a Map into Cassandra</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-and-inserting-a-Map-into-Cassandra/m-p/2372742#M135549</link>
      <description>&lt;P&gt;Bump&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 18:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-and-inserting-a-Map-into-Cassandra/m-p/2372742#M135549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T18:53:15Z</dc:date>
    </item>
  </channel>
</rss>

