<?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: CSV to SQlite db in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220366#M14790</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Input —&amp;gt;&lt;/P&gt; 
&lt;P&gt;tjavarow ( split md5 column in two - tablename and hashbyte) —&amp;gt;&lt;/P&gt; 
&lt;P&gt;tflowtoiterate(&amp;nbsp; each column value becomes part of&amp;nbsp; globalMap) —&amp;gt;&lt;/P&gt; 
&lt;P&gt;titeratetoflow ( map globalMap variable created before with columns to be mapped in table - hashbyte,name) --&amp;gt; tdboutput ( for table name ,use&amp;nbsp; globalMap variable created by&amp;nbsp;tflowtoiterate)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend.JPG" style="width: 696px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Z2.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137062i5E3BC26716DB11C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Z2.jpg" alt="0683p000009M2Z2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 21:05:23 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2019-03-05T21:05:23Z</dc:date>
    <item>
      <title>CSV to SQlite db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220365#M14789</link>
      <description>&lt;P&gt;I want to insert data from CSV file to Sqlite table with different table name on the basis of value that I get from CSV file. My file has 4 columns I want to use 2 of them to populate database.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. MD5(32 byte)&amp;nbsp; --&amp;gt; I want to split this into two and create tableName = first 3 byte and hash column remaining 29 byte&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. name --&amp;gt; store this as it is from csv.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help how can achieve this functionality, which is how to get value from csv attribute and use it as table name and remaining string to be passed as column value.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220365#M14789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: CSV to SQlite db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220366#M14790</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Input —&amp;gt;&lt;/P&gt; 
&lt;P&gt;tjavarow ( split md5 column in two - tablename and hashbyte) —&amp;gt;&lt;/P&gt; 
&lt;P&gt;tflowtoiterate(&amp;nbsp; each column value becomes part of&amp;nbsp; globalMap) —&amp;gt;&lt;/P&gt; 
&lt;P&gt;titeratetoflow ( map globalMap variable created before with columns to be mapped in table - hashbyte,name) --&amp;gt; tdboutput ( for table name ,use&amp;nbsp; globalMap variable created by&amp;nbsp;tflowtoiterate)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend.JPG" style="width: 696px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Z2.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137062i5E3BC26716DB11C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Z2.jpg" alt="0683p000009M2Z2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 21:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220366#M14790</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-05T21:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: CSV to SQlite db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220367#M14791</link>
      <description>&lt;P&gt;Thank you Abhishek for the quick response. I was able to implement the solution as suggested by you. I dynamically got the tablename from global variable by using tflowtoiterate &amp;amp; titeratetoflow. However using this I am able to insert data in only 1 table. I want to insert data in multiple tables.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I will again explain my requirement.&lt;/P&gt; 
&lt;P&gt;I have 1 csv file example having 3 columns&lt;/P&gt; 
&lt;P&gt;File - Employee&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Dept, EmpName, Sal&lt;/P&gt; 
&lt;P&gt;Finance, ABC, 4000&lt;/P&gt; 
&lt;P&gt;Admin, PQR, 3000&lt;/P&gt; 
&lt;P&gt;Tech, STU, 5000&lt;/P&gt; 
&lt;P&gt;Finance, KLJ, 3500&lt;/P&gt; 
&lt;P&gt;Tech, RTR, 6000&lt;/P&gt; 
&lt;P&gt;Finance, HJH, 4000&lt;/P&gt; 
&lt;P&gt;Admin, NBM, 8000&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to populate data of these CSV in 1 SQlite database and multiple tables as per the department. From the above csv file I have to dynamically create 3 tables (Finance, Admin and Tech) and insert row in each of the tables dynamically as per the employee department&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Output required&lt;/P&gt; 
&lt;P&gt;Table1 - Fin&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Finance, ABC, 4000&lt;/P&gt; 
&lt;P&gt;Finance, KLJ, 3500&lt;/P&gt; 
&lt;P&gt;Finance, HJH, 4000&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Table 2 - Adm&lt;/P&gt; 
&lt;P&gt;Admin, PQR, 3000&lt;/P&gt; 
&lt;P&gt;Admin, NBM, 8000&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Table 3 - Tec&lt;/P&gt; 
&lt;P&gt;Tech, STU, 5000&lt;/P&gt; 
&lt;P&gt;Tech, RTR, 6000&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 11:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220367#M14791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T11:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: CSV to SQlite db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220368#M14792</link>
      <description>&lt;P&gt;instead of tIteratetoflow , can you try tFixedFlowInput and Assign GlobalMap Var similarly as you did for&amp;nbsp;tIteratetoflow.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 12:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220368#M14792</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-06T12:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: CSV to SQlite db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220369#M14793</link>
      <description>&lt;P&gt;Thanks again for responding quickly. I really appreciate your efforts.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The solution you suggested worked for me but now the performance is low, it is updating 4 rows/sec. Is there is a way to increase that ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 11:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220369#M14793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-07T11:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: CSV to SQlite db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220370#M14794</link>
      <description>&lt;P&gt;Instead of directly inserting in Databse , I would suggest to create separate temprory files( FileName as 3 char MD5 code).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;then use tFileList , Load each file in tSqlLiteOutput (FileName w/o extn as output table name )&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 12:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CSV-to-SQlite-db/m-p/2220370#M14794</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-07T12:19:52Z</dc:date>
    </item>
  </channel>
</rss>

