<?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 Dynamic schema/Sybase IQ/Metadata in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342952#M110760</link>
    <description>&lt;P&gt;OK, I think it would be a good idea to raise this with Support. I'd need to have a play around to figure this one out. Sorry, I can't help more.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 16:14:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-19T16:14:45Z</dc:date>
    <item>
      <title>Talend Dynamic schema/Sybase IQ/Metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342949#M110757</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am pretty new to the talend tool. I am attempting to use a dynamic&amp;nbsp;schema with TDBINPUT component&amp;nbsp;to move more than&amp;nbsp;300 tables from SYBASE IQ&amp;nbsp;server to SQL server database .&lt;/P&gt;&lt;P&gt;&amp;nbsp;However&amp;nbsp;I have a problem with tables which contain numeric columns as data type in sybase IQ&lt;/P&gt;&lt;P&gt;The components i used&lt;/P&gt;&lt;P&gt;TDBINPUT-----&amp;gt; tlog row&lt;/P&gt;&lt;P&gt;with tdbinput component i set a dynamic schema.&lt;/P&gt;&lt;P&gt;as a results:( java.lang.NullPointerException)&lt;/P&gt;&lt;P&gt;I noticed when I try to load a table which does not contain numeric column data from sybase, it works well&lt;/P&gt;&lt;P&gt;the same problem when i created the metadata connexion to Sybase IQ i can't get connexion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talend version: ENTREPRISE VERSION 7.2.1&lt;/P&gt;&lt;P&gt;Sybase IQ version: SAP IQ/16.0.110.2337/10364/&lt;/P&gt;&lt;P&gt;Cordially&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 10:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342949#M110757</guid>
      <dc:creator>Patrickous</dc:creator>
      <dc:date>2023-01-19T10:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Dynamic schema/Sybase IQ/Metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342950#M110758</link>
      <description>&lt;P&gt;I'm afraid I have not seen this issue and do not have access to a Sybase IQ server at the moment. So can I ask you to try something out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code below should be placed into a tJavaFlex after your tDBInput. You will need to tweak the row and the column name in the code to match your row and dynamic schema column name. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This section should go into the Start Code....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// start part of your Java code&lt;/P&gt;&lt;P&gt;//Column count variable to count dynamic schema columns processed&lt;/P&gt;&lt;P&gt;&lt;B&gt;int&lt;/B&gt; columnCount = 0;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Row variable to count rows&lt;/P&gt;&lt;P&gt;&lt;B&gt;int&lt;/B&gt; row = 0;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;....and this code should go into the Main Code....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// here is the main part of the component,&lt;/P&gt;&lt;P&gt;// a piece of code executed in the row&lt;/P&gt;&lt;P&gt;// loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row++;&lt;/P&gt;&lt;P&gt;System.out.println("Row number = "+row);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(columnCount==0){&lt;/P&gt;&lt;P&gt;	//Set the dynamicColumnsTmp variable&lt;/P&gt;&lt;P&gt;	Dynamic dynamicColumnsTmp = row2.newColumn;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	//Cycle through the columns stored in the Dynamic schema column and add the column names&lt;/P&gt;&lt;P&gt;	//to the ArrayList&lt;/P&gt;&lt;P&gt;	&lt;B&gt;for&lt;/B&gt; (&lt;B&gt;int&lt;/B&gt; i = 0; i &amp;lt; dynamicColumnsTmp.getColumnCount(); i++) {&amp;nbsp;&lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;	DynamicMetadata columnMetadata = dynamicColumnsTmp.getColumnMetadata(i);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;	System.out.println(columnMetadata.getName()+"|"+columnMetadata.getType()+"|"+dynamicColumnsTmp.getColumnValue(i));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	}&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;	//Append 1 to the rowCount&lt;/P&gt;&lt;P&gt;	columnCount++;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;columnCount=0;&lt;/P&gt;&lt;P&gt;System.out.println("");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What this will do is tell you what the dynamic schema is identifying. So you will see a row for every column. Each column will have a name, a type and a value. You will get a row for each column in your data row and will get this for every data row. The data rows will be separated by a line break. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at this and see if it gives you any more info which you can pass on. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, this code may be useful for other bits and pieces as well.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 13:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342950#M110758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T13:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Dynamic schema/Sybase IQ/Metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342951#M110759</link>
      <description>&lt;P&gt;Hi,&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000ceDJIAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149237i88591D1D9E808868/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000ceDJIAA2.png" alt="0695b00000ceDJIAA2.png" /&gt;&lt;/span&gt;I can't run  the code, because the job faild at first component DBINPUT, there no data which passe to &amp;nbsp;tJavaFlex&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe is the bug,  with talend version V7.2!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 15:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342951#M110759</guid>
      <dc:creator>Patrickous</dc:creator>
      <dc:date>2023-01-19T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Dynamic schema/Sybase IQ/Metadata</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342952#M110760</link>
      <description>&lt;P&gt;OK, I think it would be a good idea to raise this with Support. I'd need to have a play around to figure this one out. Sorry, I can't help more.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 16:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Dynamic-schema-Sybase-IQ-Metadata/m-p/2342952#M110760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T16:14:45Z</dc:date>
    </item>
  </channel>
</rss>

