<?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 How does one reference a tColumnList from the globalMap? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332964#M101792</link>
    <description>Hi Talend folks!
&lt;BR /&gt;I'm using the tColumnList and it appears to insert a tables schema as a list into the GlobalMap. Works like a charm and I've included some of the GlobalMap printed out. What I can't seem to figure out is how do you reference one of these items from a list stored in the GlobalMap? 
&lt;BR /&gt;I tried accessing them as arrays, like&amp;nbsp; tMysqlColumnList_2_COLUMN_NAME, but no go. Tried iterating, but it only outputs 1 row...so I'm a little confused.
&lt;BR /&gt;
&lt;BR /&gt;Starting job testresponse at 02:10 19/05/2016.
&lt;BR /&gt; connecting to socket on port 3786
&lt;BR /&gt; connected
&lt;BR /&gt;{tMysqlColumnList_2_NUMERIC_SCALE=0
&lt;BR /&gt;&amp;nbsp;conn_tMysqlConnection_1=com.mysql.jdbc.JDBC4Connection@2cb4c3ab
&lt;BR /&gt;&amp;nbsp;db_tMysqlConnection_1=ELA_Limesurvey
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_CHARACTER_MAXIMUM_LENGTH=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_NUMERIC_PRECISION=10
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_DATA_TYPE=int
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_KEY=PRI
&lt;BR /&gt;&amp;nbsp;concurrentHashMap={}
&lt;BR /&gt;&amp;nbsp;tMysqlConnection_1_SUBPROCESS_STATE=0
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_IS_NULLABLE=NO
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_DEFAULT=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_NAME=id
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_SUBPROCESS_STATE=0}
&lt;BR /&gt;{tMysqlColumnList_2_NUMERIC_SCALE=null
&lt;BR /&gt;&amp;nbsp;tFixedFlowInput_1_NB_LINE=1
&lt;BR /&gt;&amp;nbsp;ColumnType=int
&lt;BR /&gt;&amp;nbsp;conn_tMysqlConnection_1=com.mysql.jdbc.JDBC4Connection@2cb4c3ab
&lt;BR /&gt;&amp;nbsp;db_tMysqlConnection_1=ELA_Limesurvey
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_CHARACTER_MAXIMUM_LENGTH=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_NUMERIC_PRECISION=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_DATA_TYPE=datetime
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_KEY=
&lt;BR /&gt;&amp;nbsp;concurrentHashMap={}
&lt;BR /&gt;&amp;nbsp;tMysqlConnection_1_SUBPROCESS_STATE=0
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_IS_NULLABLE=YES
&lt;BR /&gt;&amp;nbsp;ColumnName=id
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_DEFAULT=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_NAME=submitdate
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_SUBPROCESS_STATE=0}
&lt;BR /&gt;{tMysqlColumnList_2_NUMERIC_SCALE=0
&lt;BR /&gt;&amp;nbsp;tFixedFlowInput_1_NB_LINE=1
&lt;BR /&gt;&amp;nbsp;ColumnType=datetime
&lt;BR /&gt;&amp;nbsp;conn_tMysqlConnection_1=com.mysql.jdbc.JDBC4Connection@2cb4c3ab
&lt;BR /&gt;&amp;nbsp;db_tMysqlConnection_1=ELA_Limesurvey
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_CHARACTER_MAXIMUM_LENGTH=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_NUMERIC_PRECISION=10
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_DATA_TYPE=int
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_KEY=
&lt;BR /&gt;&amp;nbsp;concurrentHashMap={}
&lt;BR /&gt;&amp;nbsp;tMysqlConnection_1_SUBPROCESS_STATE=0
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_IS_NULLABLE=YES
&lt;BR /&gt;&amp;nbsp;ColumnName=submitdate
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_DEFAULT=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_NAME=lastpage
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_SUBPROCESS_STATE=0}
&lt;BR /&gt;
&lt;BR /&gt;Thanks!
&lt;BR /&gt;Garf</description>
    <pubDate>Thu, 19 May 2016 20:59:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-19T20:59:33Z</dc:date>
    <item>
      <title>How does one reference a tColumnList from the globalMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332964#M101792</link>
      <description>Hi Talend folks!
&lt;BR /&gt;I'm using the tColumnList and it appears to insert a tables schema as a list into the GlobalMap. Works like a charm and I've included some of the GlobalMap printed out. What I can't seem to figure out is how do you reference one of these items from a list stored in the GlobalMap? 
&lt;BR /&gt;I tried accessing them as arrays, like&amp;nbsp; tMysqlColumnList_2_COLUMN_NAME, but no go. Tried iterating, but it only outputs 1 row...so I'm a little confused.
&lt;BR /&gt;
&lt;BR /&gt;Starting job testresponse at 02:10 19/05/2016.
&lt;BR /&gt; connecting to socket on port 3786
&lt;BR /&gt; connected
&lt;BR /&gt;{tMysqlColumnList_2_NUMERIC_SCALE=0
&lt;BR /&gt;&amp;nbsp;conn_tMysqlConnection_1=com.mysql.jdbc.JDBC4Connection@2cb4c3ab
&lt;BR /&gt;&amp;nbsp;db_tMysqlConnection_1=ELA_Limesurvey
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_CHARACTER_MAXIMUM_LENGTH=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_NUMERIC_PRECISION=10
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_DATA_TYPE=int
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_KEY=PRI
&lt;BR /&gt;&amp;nbsp;concurrentHashMap={}
&lt;BR /&gt;&amp;nbsp;tMysqlConnection_1_SUBPROCESS_STATE=0
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_IS_NULLABLE=NO
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_DEFAULT=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_NAME=id
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_SUBPROCESS_STATE=0}
&lt;BR /&gt;{tMysqlColumnList_2_NUMERIC_SCALE=null
&lt;BR /&gt;&amp;nbsp;tFixedFlowInput_1_NB_LINE=1
&lt;BR /&gt;&amp;nbsp;ColumnType=int
&lt;BR /&gt;&amp;nbsp;conn_tMysqlConnection_1=com.mysql.jdbc.JDBC4Connection@2cb4c3ab
&lt;BR /&gt;&amp;nbsp;db_tMysqlConnection_1=ELA_Limesurvey
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_CHARACTER_MAXIMUM_LENGTH=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_NUMERIC_PRECISION=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_DATA_TYPE=datetime
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_KEY=
&lt;BR /&gt;&amp;nbsp;concurrentHashMap={}
&lt;BR /&gt;&amp;nbsp;tMysqlConnection_1_SUBPROCESS_STATE=0
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_IS_NULLABLE=YES
&lt;BR /&gt;&amp;nbsp;ColumnName=id
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_DEFAULT=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_NAME=submitdate
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_SUBPROCESS_STATE=0}
&lt;BR /&gt;{tMysqlColumnList_2_NUMERIC_SCALE=0
&lt;BR /&gt;&amp;nbsp;tFixedFlowInput_1_NB_LINE=1
&lt;BR /&gt;&amp;nbsp;ColumnType=datetime
&lt;BR /&gt;&amp;nbsp;conn_tMysqlConnection_1=com.mysql.jdbc.JDBC4Connection@2cb4c3ab
&lt;BR /&gt;&amp;nbsp;db_tMysqlConnection_1=ELA_Limesurvey
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_CHARACTER_MAXIMUM_LENGTH=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_NUMERIC_PRECISION=10
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_DATA_TYPE=int
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_KEY=
&lt;BR /&gt;&amp;nbsp;concurrentHashMap={}
&lt;BR /&gt;&amp;nbsp;tMysqlConnection_1_SUBPROCESS_STATE=0
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_IS_NULLABLE=YES
&lt;BR /&gt;&amp;nbsp;ColumnName=submitdate
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_DEFAULT=null
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_COLUMN_NAME=lastpage
&lt;BR /&gt;&amp;nbsp;tMysqlColumnList_2_SUBPROCESS_STATE=0}
&lt;BR /&gt;
&lt;BR /&gt;Thanks!
&lt;BR /&gt;Garf</description>
      <pubDate>Thu, 19 May 2016 20:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332964#M101792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T20:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: How does one reference a tColumnList from the globalMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332965#M101793</link>
      <description>Here's an example job that prints all the columns of the table.&amp;nbsp; 
&lt;BR /&gt;The t*ColumnList components will execute a metadata query in the BEGIN section of the component and populate the globalMap. by using the Iterate link, we allow the component to populate the globalMap with one column per iteration.&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME5b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146904i1C3844B0DE2B4A92/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME5b.png" alt="0683p000009ME5b.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;If you need the data in a flow, you can use the tIterateToFlow component to gather up all the iterations and then output them as a flow: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136411i972FE97C7B1AC34F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEAG.png" alt="0683p000009MEAG.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 19 May 2016 22:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332965#M101793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T22:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: How does one reference a tColumnList from the globalMap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332966#M101794</link>
      <description>Thanks for the guidance John, it was the tFlowIterate that I was missing.&amp;nbsp; I'm now able to work with dynamic schemas to normalize data from a table. Still trying to figure out a few things on the output side, but I'll post my working sample back to the group&amp;nbsp; to share as soon as I get a few other pieces working.&lt;BR /&gt;Garf</description>
      <pubDate>Tue, 24 May 2016 03:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-does-one-reference-a-tColumnList-from-the-globalMap/m-p/2332966#M101794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-24T03:09:07Z</dc:date>
    </item>
  </channel>
</rss>

