<?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: [resolved] Building star scheme cube in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340797#M108800</link>
    <description>Hi Shong,
&lt;BR /&gt;Thanks for your valuable solution.
&lt;BR /&gt;but i have a problem, every time if there is new value i need to do max(ID)+1 in dimension table before insert.
&lt;BR /&gt;with below scenario how it is possible?
&lt;BR /&gt;how i can achieve tMysqlLastInsertedID in oracle?
&lt;BR /&gt;can you please help me on it.
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Chiranjeevi.</description>
    <pubDate>Fri, 26 Jul 2013 10:58:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-26T10:58:37Z</dc:date>
    <item>
      <title>[resolved] Building star scheme cube</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340795#M108798</link>
      <description>Hi How can i build mondrian cube in talend?
&lt;BR /&gt;i tried, but i didn't get anything.
&lt;BR /&gt;i want something like this link "
&lt;A href="http://type-exit.org/adventures-with-open-source-bi/2010/07/a-basic-mondrian-cube-introducing-the-star-schema/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://type-exit.org/adventures-with-open-source-bi/2010/07/a-basic-mondrian-cube-introducing-the-star-schema/&lt;/A&gt;"
&lt;BR /&gt;Thanks in advance for help.</description>
      <pubDate>Thu, 25 Jul 2013 16:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340795#M108798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-25T16:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Building star scheme cube</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340796#M108799</link>
      <description>Hi 
&lt;BR /&gt;You can do the same thing in Talend with the following job design:
&lt;BR /&gt;parent job:
&lt;BR /&gt;tFileInputExcel--main--tFlowToIterate--iterate--tRunJob
&lt;BR /&gt;on tRunJob, pass each row read from tFileInputExcel to child job, see this 
&lt;A href="https://help.talend.com/search/all?query=Passing+a+value+from+a+parent+Job+to+a+child+Job&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;KB article&lt;/A&gt; on Talend Help Center to know how to pass a value from parent job to child job.
&lt;BR /&gt;child job:
&lt;BR /&gt;tFixedFlowInput_1--main--tMap---out1--tMysqlOutput_1--main--tMysqlLastInertedID_1--main--tJavaRow_1
&lt;BR /&gt; --out2---tMysqlOutput_2--main--tMysqlLastInertedID_2--main--tJavaRow_2
&lt;BR /&gt; --out3---tMysqlOutput_3--main--tMysqlLastInertedID_3--main--tJavaRow_3
&lt;BR /&gt; --out4---tMysqlOutput_4--main--tMysqlLastInertedID_4--main--tJavaRow_4
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tFixedFlowInput_2----main--tMysqlOutput_5
&lt;BR /&gt;on tFixedFlowInput_1: generate the current data flow came from the parent job.
&lt;BR /&gt;on tMysqlOutput_1: insert data into one of dimension table, for example, dim_assignee table, tMysqlLastInertedID_1 get the last inserted primary key of dim_assignee table, tJavaRow_1 store the last inserted id to a global vairable for used later, for example: globalMap.put("dim_assignee_key", input_row.last_insert_id);
&lt;BR /&gt;...
&lt;BR /&gt;on tFixedFlowInput_2, generate the current record with the global variables which store the primary key of dimension tables, and insert it into fact table (on tMysqlOutput_5). 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 26 Jul 2013 08:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340796#M108799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-26T08:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Building star scheme cube</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340797#M108800</link>
      <description>Hi Shong,
&lt;BR /&gt;Thanks for your valuable solution.
&lt;BR /&gt;but i have a problem, every time if there is new value i need to do max(ID)+1 in dimension table before insert.
&lt;BR /&gt;with below scenario how it is possible?
&lt;BR /&gt;how i can achieve tMysqlLastInsertedID in oracle?
&lt;BR /&gt;can you please help me on it.
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Chiranjeevi.</description>
      <pubDate>Fri, 26 Jul 2013 10:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340797#M108800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-26T10:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Building star scheme cube</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340798#M108801</link>
      <description>Hi 
&lt;BR /&gt;Using a tOracleInput to execute the below statement instead of tMysqlLastInsertedId in the above example for Oracle database. 
&lt;BR /&gt;tFixedFlowInput_1--main--tMap---out1--tOracleOutput_1--oncomponentok--tOracleInput--main--tJavaRow_1 
&lt;BR /&gt;on tOracleInput: 
&lt;BR /&gt;"select max(PK_column_name) from tableName" 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 26 Jul 2013 12:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Building-star-scheme-cube/m-p/2340798#M108801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-26T12:20:27Z</dc:date>
    </item>
  </channel>
</rss>

