<?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: Talend Capabilities to Extract Oracle CLOB column to other tables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332974#M101802</link>
    <description>The error suggests you are using "java.sql.CLOB". This is wrong. You need to use "java.sql.Clob". Case is important in Java.</description>
    <pubDate>Wed, 13 Apr 2016 20:31:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-13T20:31:38Z</dc:date>
    <item>
      <title>Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332969#M101797</link>
      <description>Hello Experts,
&lt;BR /&gt;We are planing to use talend to handle a JSON data extraction.&amp;nbsp;
&lt;BR /&gt;It is in data warehouse area and we are currently using Oracle 10g .
&lt;BR /&gt;Current Scenario:
&lt;BR /&gt;We have a table having 10 columns in Staging area . Out of these 1 column is CLOB column , where we are getting CLOB data in JSON format from some source systems.
&lt;BR /&gt;It is easy to load other 9 columns to data warehouse .
&lt;BR /&gt;The 10th single CLOB column contains 300+ fields , which need to extracted and loaded in to 3 different tables based on conditions .
&lt;BR /&gt;Summery:
&lt;BR /&gt;Stage Table (Having an Oracle CLOB column in JSON formatted data)-----&amp;gt; Need to Extract from 1 CLOB column to 300+ columns ------&amp;gt; Need to store some other defined tables.
&lt;BR /&gt;Could someone please answer:
&lt;BR /&gt;1. Can I extract this Oracle CLOB column (JSON_DATA) having JSON structured data to other tables. Is this possible in TALEND at all?
&lt;BR /&gt;2. If yes , could you please provide an example to extract it.
&lt;BR /&gt;Many Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 10:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332969#M101797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332970#M101798</link>
      <description>1. Yes you can, it´s possible in talend, talend speaks Java.&lt;BR /&gt;2. No, i cant, to timeconsuming, hire a professional&amp;nbsp;</description>
      <pubDate>Tue, 12 Apr 2016 17:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332970#M101798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-12T17:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332971#M101799</link>
      <description>To give you a bit of a helping hand, the Clob data will be returned by Talend as an Object. You will need to cast this to&amp;nbsp;java.sql.Clob. You can do that in a tJavaRow if you like. Something like below (this may need tweaking as I wrote this from memory).....
&lt;BR /&gt;
&lt;PRE&gt;output_row.clobString = ((java.sql.Clob)input_row.clob).getCharacterStream(1, ((java.sql.Clob)input_row.clob).length());&lt;/PRE&gt;
&lt;BR /&gt;This will set the clobString column to be a String representation of the clob output. From that, you will need to use String processing to split the String into columns (or, if it holds JSON, you will need to parse that).
&lt;BR /&gt;I recommend writing yourself a Java routine to process the clob as you wish since this will mean you can control your code in one location.</description>
      <pubDate>Tue, 12 Apr 2016 22:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332971#M101799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-12T22:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332972#M101800</link>
      <description>Thanks all. 
&lt;BR /&gt;This casting is not working: 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;output_row.clobString = ((java.sql.Clob)input_row.clob).getCharacterStream(1, ((java.sql.Clob)input_row.clob).length());&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;I am getting following attached Error.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDp3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133828i0AE80F5EBDC30B85/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDp3.png" alt="0683p000009MDp3.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDfG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135681i9EC40A41966D4205/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDfG.png" alt="0683p000009MDfG.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;Once again , summery :&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Stage Table (Having an Oracle CLOB column in JSON formatted data)-----&amp;gt; Need to Extract from 1 CLOB column to 300+ columns ------&amp;gt; Need to store some other defined tables&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Many Thanks.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332972#M101800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T17:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332973#M101801</link>
      <description>Import &lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;java.sql&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332973#M101801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T17:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332974#M101802</link>
      <description>The error suggests you are using "java.sql.CLOB". This is wrong. You need to use "java.sql.Clob". Case is important in Java.</description>
      <pubDate>Wed, 13 Apr 2016 20:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332974#M101802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T20:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Capabilities to Extract Oracle CLOB column to other tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332975#M101803</link>
      <description>this was not working : 
&lt;BR /&gt;//output_row.JSON_DATA = ((java.sql.Clob)input_row.JSON_DATA).getCharacterStream(1, //((java.sql.Clob)input_row.JSON_DATA).length()); 
&lt;BR /&gt; 
&lt;BR /&gt;so I used the default code : 
&lt;BR /&gt;//Code generated according to input schema and output schema 
&lt;BR /&gt;output_row.JSON_DATA = input_row.JSON_DATA; 
&lt;BR /&gt;and now it is throwing below error : 
&lt;BR /&gt;Starting job WIP at 14:57 14/04/2016. 
&lt;BR /&gt; connecting to socket on port 4020 
&lt;BR /&gt; connected 
&lt;BR /&gt;java.io.IOException: Illegal character: &amp;lt;S&amp;gt; 
&lt;BR /&gt;java.io.IOException: Illegal character: &amp;lt;S&amp;gt; 
&lt;BR /&gt;331 milliseconds 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job WIP ended at 14:57 14/04/2016. 
&lt;BR /&gt; 
&lt;BR /&gt;Please sugest. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDhq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153548i4E59BBF939B97D1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDhq.png" alt="0683p000009MDhq.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 14 Apr 2016 15:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Capabilities-to-Extract-Oracle-CLOB-column-to-other/m-p/2332975#M101803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T15:01:39Z</dc:date>
    </item>
  </channel>
</rss>

