<?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: tELTOracleMap and join (left outer join) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289066#M62485</link>
    <description>Can you explain me where to find this "outline view" ? i can't find it any where in TOS 3.2&lt;BR /&gt;Do you have the exact Java code to put in the tMsgBox ?&lt;BR /&gt;I tried to display the global QUERY variable but I failled, I don't know the excact statment for diplaying the QUERY I tried in a tJava component&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;System.out.println(tELTOracleOutput_4.QUERY);&lt;BR /&gt;System.out.println(QUERY);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;And in a tMsgBox I tried :&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;QUERY&lt;BR /&gt;tELTOracleOutput_4.QUERY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;But nothing worked.&lt;BR /&gt;Regards,&lt;BR /&gt;Francois</description>
    <pubDate>Thu, 20 May 2010 08:47:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-05-20T08:47:05Z</dc:date>
    <item>
      <title>tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289059#M62478</link>
      <description>Hello all,&lt;BR /&gt;I am trying to build a job based on the tELTOracleMap, I have 5 tables fron the same oracle schema. Two of them are left outer joined tables.&lt;BR /&gt;When I launch my job I get an oracle error ORA-00926 something on the values that are not set.&lt;BR /&gt;But when I look to the générated query I see that the query is not good.&lt;BR /&gt;The generated query into the tELTOracleMap is :&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SELECT&lt;BR /&gt;seq_t_demande_sngi.nextval, null, indiv.N_NIR , indiv.N_INDICE_PENSION , indiv.N_IMMAT_SNCF , indiv.C_SEXE , indiv.L_TYPE , indiv.L_NOM_FAMILLE , indiv.L_NOM_MARITAL , indiv.L_PRENOM_1 , indiv.L_PRENOM_2 , indiv.L_PRENOM_3 , indiv.D_NAISSANCE , indiv.C_PAYS_NAISSANCE , indiv.L_PAYS_NAISSANCE , indiv.C_DEPT_NAISSANCE , indiv.L_DEPT_NAISSANCE , indiv.C_COM_NAISSANCE , indiv.L_COM_NAISSANCE , indiv.L_LOC_NAISSANCE , pere.L_NOM_FAMILLE , pere.L_PRENOM_1 , pere.L_PRENOM_2 , pere.L_PRENOM_3 , mere.L_NOM_FAMILLE , mere.L_PRENOM_1 , mere.L_PRENOM_2 , mere.L_PRENOM_3 , indiv.ID_T_INDIVIDU_CPR &lt;BR /&gt;FROM&lt;BR /&gt; context.db_oracle_nir_Schema.T_INDIVIDU_CPR indiv , &lt;BR /&gt;context.db_oracle_nir_Schema.T_ASCENDANT_CPR pere , &lt;BR /&gt;context.db_oracle_nir_Schema.T_ASCENDANT_CPR mere , &lt;BR /&gt;context.db_oracle_nir_Schema.TA_HISTORIQUE hist , &lt;BR /&gt;context.db_oracle_nir_Schema.TR_ETAT etat&lt;BR /&gt;WHERE &lt;BR /&gt;  pere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR &lt;BR /&gt;  AND  mere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR &lt;BR /&gt;  AND  hist.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR &lt;BR /&gt;  AND  etat.ID_TR_ETAT = hist.ID_TR_ETAT &lt;BR /&gt;  AND  etat.L_ETAT = 'A IDENTIFIER'&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;The générated query into the console is :&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;INSERT INTO context.db_oracle_echange_Schema.DEMANDE_SNGI (&lt;BR /&gt;SELECT &lt;BR /&gt;seq_t_demande_sngi.nextval, null, indiv.N_NIR , indiv.N_INDICE_PENSION , indiv.N_IMMAT_SNCF , indiv.C_SEXE , indiv.L_TYPE , indiv.L_NOM_FAMILLE , indiv.L_NOM_MARITAL , indiv.L_PRENOM_1 , indiv.L_PRENOM_2 , indiv.L_PRENOM_3 , indiv.D_NAISSANCE , indiv.C_PAYS_NAISSANCE , indiv.L_PAYS_NAISSANCE , indiv.C_DEPT_NAISSANCE , indiv.L_DEPT_NAISSANCE , indiv.C_COM_NAISSANCE , indiv.L_COM_NAISSANCE , indiv.L_LOC_NAISSANCE , pere.L_NOM_FAMILLE , pere.L_PRENOM_1 , pere.L_PRENOM_2 , pere.L_PRENOM_3 , mere.L_NOM_FAMILLE , mere.L_PRENOM_1 , mere.L_PRENOM_2 , mere.L_PRENOM_3 , indiv.ID_T_INDIVIDU_CPR  &lt;BR /&gt;FROM  &lt;BR /&gt;context.db_oracle_nir_Schema.T_INDIVIDU_CPR indiv &lt;BR /&gt;&lt;B&gt;LEFT OUTER JOIN&lt;/B&gt;  context.db_oracle_nir_Schema.T_ASCENDANT_CPR pere ON( &lt;B&gt;/* Conditions of joint are not set */&lt;/B&gt; )  &lt;BR /&gt;&lt;B&gt;LEFT OUTER JOIN&lt;/B&gt;  context.db_oracle_nir_Schema.T_ASCENDANT_CPR mere ON( &lt;B&gt;/* Conditions of joint are not set */&lt;/B&gt; ) &lt;BR /&gt;WHERE    &lt;BR /&gt;pere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  AND  pere.C_TYPE = 1   &lt;BR /&gt;AND  mere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR    AND  mere.C_TYPE = 2   &lt;BR /&gt;AND  hist.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR    &lt;BR /&gt;AND  etat.ID_TR_ETAT = hist.ID_TR_ETAT    AND  etat.L_ETAT = 'A IDENTIFIER')&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Both generated query are different !&lt;BR /&gt;If I look to the generated query from the console I see that :&lt;BR /&gt;Talend doesn't build the left outer join condition (&lt;B&gt;/* Conditions of joint are not set */&lt;/B&gt;).&lt;BR /&gt;All jointure are in the where statement and it seams trying to put it also in the from statement.&lt;BR /&gt;Some tables are missing in the from statement.&lt;BR /&gt;&lt;BR /&gt;If I change my tmap and put my left outer join in IMPLICIT JOIN it seems to be ok for talend. This problem seams similar if I choose INNER JOIN or any other type of jointure different that are different of IMPLICIT JOIN.&lt;BR /&gt;I don't know if I can trust the genarated talend query into the console. &lt;BR /&gt;My questions are :&lt;BR /&gt;Is anyone know if the query displayed is the right one ?&lt;BR /&gt;Has any body succeded in building a left outer join query with an tELTOracleMap component ?&lt;BR /&gt;Is the tELTOracleMap fully implemented or is it a testing component not yet finished ?&lt;BR /&gt;&lt;BR /&gt;My TOS version is 3.2.&lt;BR /&gt;Thanks for your reading&lt;BR /&gt;regards;&lt;BR /&gt;Francois</description>
      <pubDate>Sat, 16 Nov 2024 13:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289059#M62478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289060#M62479</link>
      <description>This is quite weird that both queries are different but according to me you should trust the one print out in the console. 
&lt;BR /&gt;For the issue "(/* Conditions of joint are not set */)" you are missing one parameter. For the left join you have to check the option "explicit joins" in the left column of your screenshot (jointure explicite in french). The reason is simple when you select any other join that the Implicit one you have to check this option in order to generate the condition in your sql query. 
&lt;BR /&gt;For your last question I successfully implemented the elt feature, but i would agree to say those components are a little bit tricky to use 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Let us know if your problem is solved</description>
      <pubDate>Mon, 17 May 2010 20:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289060#M62479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-17T20:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289061#M62480</link>
      <description>Thanks a lot for your help. 
&lt;BR /&gt;With the explicite join it seams to genarate a correct query. 
&lt;BR /&gt;If I spécify colones for the explicit joins, I have to do it for all my jointure (no implicit joins otherwise I don't have the table in the from statement). 
&lt;BR /&gt;Here the generated query with checks options on my colones used into the joints : 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;SELECT&lt;BR /&gt;1, null, indiv.N_NIR , indiv.N_INDICE_PENSION , indiv.N_IMMAT_SNCF , indiv.C_SEXE , indiv.L_TYPE , indiv.L_NOM_FAMILLE , indiv.L_NOM_MARITAL , indiv.L_PRENOM_1 , indiv.L_PRENOM_2 , indiv.L_PRENOM_3 , indiv.D_NAISSANCE , indiv.C_PAYS_NAISSANCE , indiv.L_PAYS_NAISSANCE , indiv.C_DEPT_NAISSANCE , indiv.L_DEPT_NAISSANCE , indiv.C_COM_NAISSANCE , indiv.L_COM_NAISSANCE , indiv.L_LOC_NAISSANCE , pere.L_NOM_FAMILLE , pere.L_PRENOM_1 , pere.L_PRENOM_2 , pere.L_PRENOM_3 , mere.L_NOM_FAMILLE , mere.L_PRENOM_1 , mere.L_PRENOM_2 , mere.L_PRENOM_3 , indiv.ID_T_INDIVIDU_CPR &lt;BR /&gt;FROM&lt;BR /&gt; context.db_oracle_nir_Schema.T_INDIVIDU_CPR indiv LEFT OUTER JOIN context.db_oracle_nir_Schema.T_ASCENDANT_CPR pere ON( pere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR AND pere.C_TYPE = 1 )&lt;BR /&gt; LEFT OUTER JOIN context.db_oracle_nir_Schema.T_ASCENDANT_CPR mere ON( mere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR AND mere.C_TYPE = 2 )&lt;BR /&gt; INNER JOIN context.db_oracle_nir_Schema.TA_HISTORIQUE hist ON( hist.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR )&lt;BR /&gt; INNER JOIN context.db_oracle_nir_Schema.TR_ETAT etat ON( etat.ID_TR_ETAT = hist.ID_TR_ETAT )&lt;BR /&gt;WHERE &lt;BR /&gt; etat.L_ETAT = 'A IDENTIFIER'&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;But I still have a problem on the generated query. 
&lt;BR /&gt;The above query seams to be right, but when talend execute it I get an oracle error : ORA-00926 complaning that the VALUES statement is missing. 
&lt;BR /&gt;If I copy and paste my query into SQLdeveloper the execution of my query is fine (I need to replace context.db_oracle_nir_Schema by the oracle schema name of my data base). I have no ORA error. 
&lt;BR /&gt;I don't have enought right to see my query from the oracle view V$session. 
&lt;BR /&gt;do you know an other way to get the real generated query instead of having a look into the oracle V$session view ? 
&lt;BR /&gt; 
&lt;BR /&gt;I will investigate and come back as soon as I have more informations. 
&lt;BR /&gt;regards, 
&lt;BR /&gt;Francois</description>
      <pubDate>Tue, 18 May 2010 09:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289061#M62480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-18T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289062#M62481</link>
      <description>I have no more information to give.
&lt;BR /&gt;I can't find my SQL query in the oracle cache area cause the query doen't passe the SQL parsing test, so it doesn't execute it.
&lt;BR /&gt;I will write a new post in the talend forum on the tELTOracleOutput component.
&lt;BR /&gt;I found one guy having the same problem : 
&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=40236" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=40236&lt;/A&gt;
&lt;BR /&gt;regards,
&lt;BR /&gt;Francois</description>
      <pubDate>Tue, 18 May 2010 13:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289062#M62481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-18T13:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289063#M62482</link>
      <description>tchoua&lt;BR /&gt;In your query you're using some context variable but you're not using the concatenation operator to do it ("+context.myvar+"). So the values are not changed at the execution, I think that is the cause of your probleme and ORA error.</description>
      <pubDate>Tue, 18 May 2010 20:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289063#M62482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-18T20:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289064#M62483</link>
      <description>Hello, thanks for your help. 
&lt;BR /&gt;If my understanding correctly, you are talking about the "context.db_oracle_nir_Schema" from the générated query. 
&lt;BR /&gt;I use those parameters from the context to connect to the Oracle data base. 
&lt;BR /&gt;I make a test changing the value "context.db_oracle_nir_schema" by a constante "NIR" as shown on the screen shot. The Oracle error changed to : 
&lt;BR /&gt;ORA-00907: missing right parenthesis 
&lt;BR /&gt;I also tried to change the value by "+context.db_oracle_nir_Schema+" but I get the same ORA-00907 error. 
&lt;BR /&gt;This test confirm me that the problem is comming from the tOracleOutput component. 
&lt;BR /&gt;Is there a way to extract the real générated query that is send to Oracle ? I bet the query is différent from the one shown in the console. 
&lt;BR /&gt;More information on this second problem can be found in my second post : 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkzBCAS" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Sandbox/Big-Data-Sandbox-5-5-and-Open-Studio-5-6-1/td-p/76938&lt;/A&gt; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Francois Chiausa</description>
      <pubDate>Wed, 19 May 2010 13:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289064#M62483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289065#M62484</link>
      <description>You can print the query send by the component by printing the global variable QUERY of the component in tMsgBox for example. You can find the exact code for the variablr in the outline view of the studio.</description>
      <pubDate>Wed, 19 May 2010 20:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289065#M62484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T20:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289066#M62485</link>
      <description>Can you explain me where to find this "outline view" ? i can't find it any where in TOS 3.2&lt;BR /&gt;Do you have the exact Java code to put in the tMsgBox ?&lt;BR /&gt;I tried to display the global QUERY variable but I failled, I don't know the excact statment for diplaying the QUERY I tried in a tJava component&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;System.out.println(tELTOracleOutput_4.QUERY);&lt;BR /&gt;System.out.println(QUERY);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;And in a tMsgBox I tried :&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;QUERY&lt;BR /&gt;tELTOracleOutput_4.QUERY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;But nothing worked.&lt;BR /&gt;Regards,&lt;BR /&gt;Francois</description>
      <pubDate>Thu, 20 May 2010 08:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289066#M62485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-20T08:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap and join (left outer join)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289067#M62486</link>
      <description>I found the source of the problem.&lt;BR /&gt;The cause is comming from the link between tELTOracleInput and the tELTOracleMap.&lt;BR /&gt;for exemple I have a link named context.db_oracle_nir_Schema.T_ASCENDANT_CPR, this is the cause of all my troubles.&lt;BR /&gt;If I replace it (can't do it cause the . is not alowed in link name so you have to delete the link and recreate it) by : &lt;BR /&gt;"+context.db_oracle_nir_Schema.T_ASCENDANT_CPR"+ the query works fine.&lt;BR /&gt;&lt;BR /&gt;There is an other way to solve the problem it is by renaming all link name context.db_oracle_nir_Schema.TABLE in TABLE (without context.db_oracle_nir_Schema.) and to put an oracle connexion component link to on the tELTOracleMap.&lt;BR /&gt;&lt;BR /&gt;both way are working but may be the fist one let you insert data from on schema to an other I haven't tried it yet.&lt;BR /&gt;regards,&lt;BR /&gt;And thanks to evryone for your help.&lt;BR /&gt;Francois</description>
      <pubDate>Fri, 21 May 2010 16:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-and-join-left-outer-join/m-p/2289067#M62486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-21T16:45:59Z</dc:date>
    </item>
  </channel>
</rss>

