<?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: Cannot add or update a child row: a foreign key constraint fails in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267770#M46552</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Its not about changing the foreign key id. You will have to make sure that all the dimension tables are filled first.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Whenever an input file is coming from source below are the high level steps.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;a) Load the data to all dimension tables and generate the corresponding dimension id.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;b) read the input file again and do &lt;U&gt;&lt;STRONG&gt;inner join&lt;/STRONG&gt;&lt;/U&gt; for all the columns with corresponding dimension tables (where you have foreign key constraints) to get dimension ids&lt;/P&gt; 
&lt;P&gt;c) All the records which have dimension ids can be passed to target table&lt;/P&gt; 
&lt;P&gt;d) All the rejected records in tMap can be transferred to a reject table or file for further analysis.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2019 15:46:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-22T15:46:31Z</dc:date>
    <item>
      <title>Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267765#M46547</link>
      <description>&lt;P&gt;Cannot add or update a child row: a foreign key constraint fails (`matriculas`.`gestaomatriculas`, CONSTRAINT `fk_GestaoMatriculas_Calendario1` FOREIGN KEY (`ID_Calendario_Ano_Fim`) REFERENCES `calendario` (`ID_Calendario`) ON DELETE NO ACTION ON UPDATE NO A)&lt;BR /&gt;&lt;BR /&gt;I want to load my facts table but it gives me this error i dont know why, can someone help me please ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is my facts table:&lt;BR /&gt;&lt;BR /&gt;CREATE TABLE IF NOT EXISTS `matriculas`.`gestaomatriculas` (&lt;BR /&gt;`ID_Localizacao` int(11) NOT NULL,&lt;BR /&gt;`ID_Calendario_Ano_Inicio` int(11) NOT NULL,&lt;BR /&gt;`ID_Calendario_Ano_Fim` int(11) NOT NULL,&lt;BR /&gt;`ID_Escola` int(11) NOT NULL,&lt;BR /&gt;`ID_Entidade` int(11) NOT NULL,&lt;BR /&gt;`ID_Curso` int(11) NOT NULL,&lt;BR /&gt;`numero_homens` int(11) DEFAULT NULL,&lt;BR /&gt;`numero_mulheres` int(11) DEFAULT NULL,&lt;BR /&gt;INDEX `fk_GestaoMatriculas_Localizacao1_idx` (`ID_Localizacao` ASC),&lt;BR /&gt;INDEX `fk_GestaoMatriculas_Calendario1_idx` (`ID_Calendario_Ano_Fim` ASC),&lt;BR /&gt;INDEX `fk_GestaoMatriculas_Escola1_idx` (`ID_Escola` ASC),&lt;BR /&gt;INDEX `fk_GestaoMatriculas_Entidade1_idx` (`ID_Entidade` ASC),&lt;BR /&gt;INDEX `fk_GestaoMatriculas_Oferta1_idx` (`ID_Curso`ASC),&lt;BR /&gt;INDEX `fk_GestaoMatriculas_Calendario2_idx` (`ID_Calendario_Ano_Inicio`ASC),&lt;BR /&gt;CONSTRAINT `fk_GestaoMatriculas_Calendario1`&lt;BR /&gt;FOREIGN KEY (`ID_Calendario_Ano_Fim`)&lt;BR /&gt;REFERENCES `matriculas`.`calendario` (`ID_Calendario`)&lt;BR /&gt;ON DELETE NO ACTION&lt;BR /&gt;ON UPDATE NO ACTION,&lt;BR /&gt;CONSTRAINT `fk_GestaoMatriculas_Calendario2`&lt;BR /&gt;FOREIGN KEY (`ID_Calendario_Ano_Inicio`)&lt;BR /&gt;REFERENCES `matriculas`.`calendario` (`ID_Calendario`)&lt;BR /&gt;ON DELETE NO ACTION&lt;BR /&gt;ON UPDATE NO ACTION,&lt;BR /&gt;CONSTRAINT `fk_GestaoMatriculas_Entidade1`&lt;BR /&gt;FOREIGN KEY (`ID_Entidade`)&lt;BR /&gt;REFERENCES `matriculas`.`entidade` (`ID_Entidade`)&lt;BR /&gt;ON DELETE NO ACTION&lt;BR /&gt;ON UPDATE NO ACTION,&lt;BR /&gt;CONSTRAINT `fk_GestaoMatriculas_Escola1`&lt;BR /&gt;FOREIGN KEY (`ID_Escola`)&lt;BR /&gt;REFERENCES `matriculas`.`escola` (`ID_Escola`)&lt;BR /&gt;ON DELETE NO ACTION&lt;BR /&gt;ON UPDATE NO ACTION,&lt;BR /&gt;CONSTRAINT `fk_GestaoMatriculas_Localizacao1`&lt;BR /&gt;FOREIGN KEY (`ID_Localizacao`)&lt;BR /&gt;REFERENCES `matriculas`.`localizacao` (`ID_Localizacao`)&lt;BR /&gt;ON DELETE NO ACTION&lt;BR /&gt;ON UPDATE NO ACTION,&lt;BR /&gt;CONSTRAINT `fk_GestaoMatriculas_Oferta1`&lt;BR /&gt;FOREIGN KEY (`ID_Curso`)&lt;BR /&gt;REFERENCES `matriculas`.`curso` (`ID_Curso`)&lt;BR /&gt;ON DELETE NO ACTION&lt;BR /&gt;ON UPDATE NO ACTION&lt;BR /&gt;) ENGINE=InnoDB&lt;BR /&gt;&lt;BR /&gt;This is the dimension "calendario" :&lt;BR /&gt;&lt;BR /&gt;CREATE TABLE IF NOT EXISTS `Matriculas`.`calendario` (&lt;BR /&gt;`ID_Calendario` int(11) NOT NULL AUTO_INCREMENT,&lt;BR /&gt;`ano` varchar(255) DEFAULT NULL,&lt;BR /&gt;PRIMARY KEY (`ID_Calendario`)&lt;BR /&gt;) ENGINE=InnoDB&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267765#M46547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267766#M46548</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Since you have Foreign Key constraint, you must first load all the dimension tables first before loading the fact table. If the error persists, could you please share a screen shot of the job so that we will get better clarity of the job flow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 04:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267766#M46548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T04:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267767#M46549</link>
      <description>As soon as you try to insert a row into the fact table, the value in the field ID_Calendario_Ano_Inicio must identify a row in the table `matriculas`.`calendario` with the same value for the field ID_Calendario</description>
      <pubDate>Fri, 22 Nov 2019 07:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267767#M46549</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-11-22T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267768#M46550</link>
      <description>&lt;P&gt;I have changed the ID_Calendario_Ano_Inicio to just ID_Calendario and its working fine, but now i have the same error for other ID's, like :&lt;BR /&gt;"Cannot add or update a child row: a foreign key constraint fails (`matriculas`.`gestaomatriculas`, CONSTRAINT `fk_GestaoMatriculas_Escola1` FOREIGN KEY (`ID_Escola`) REFERENCES `escola` (`ID_Escola`) ON DELETE NO ACTION ON UPDATE NO ACTION)"&lt;/P&gt; 
&lt;P&gt;I have loaded all the dimensions for my facts table, and all have the ID's, exact same name as other ID's.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MySQL for dimension &amp;quot;escola&amp;quot;" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8EX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133608i8889574AF2588000/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8EX.png" alt="0683p000009M8EX.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MySQL for dimension "escola"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="facts table" style="width: 904px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7yf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152272i67DD888B4CD56862/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7yf.png" alt="0683p000009M7yf.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;facts table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="facts table" style="width: 901px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Ec.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135069i279276BB90472C39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Ec.png" alt="0683p000009M8Ec.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;facts table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267768#M46550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267769#M46551</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error" style="width: 954px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Eh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151627i4C1CEE64B8FCCCD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Eh.png" alt="0683p000009M8Eh.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267769#M46551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T15:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267770#M46552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Its not about changing the foreign key id. You will have to make sure that all the dimension tables are filled first.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Whenever an input file is coming from source below are the high level steps.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;a) Load the data to all dimension tables and generate the corresponding dimension id.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;b) read the input file again and do &lt;U&gt;&lt;STRONG&gt;inner join&lt;/STRONG&gt;&lt;/U&gt; for all the columns with corresponding dimension tables (where you have foreign key constraints) to get dimension ids&lt;/P&gt; 
&lt;P&gt;c) All the records which have dimension ids can be passed to target table&lt;/P&gt; 
&lt;P&gt;d) All the rejected records in tMap can be transferred to a reject table or file for further analysis.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267770#M46552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T15:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267771#M46553</link>
      <description>&lt;P&gt;I changed the Join Model to "Inner join" and now he doesnt pass the rows &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0 rows.PNG" style="width: 850px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7yg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157193i58CEB1E0712BDE02/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7yg.png" alt="0683p000009M7yg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 16:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267771#M46553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T16:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267772#M46554</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="merge dimensions, facts tables" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7hN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150870i83A1CF9E0F7888F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7hN.png" alt="0683p000009M7hN.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;merge dimensions, facts tables&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 16:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267772#M46554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T16:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267773#M46555</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; It means dimension data is not correctly recorded in the dimension tables. Did you query the table and see whether the data is present there?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Now, in tMap, you can add one more output column where you can capture the reject records (inner join reject). This data also will give some information about possible problem. Also please check the underlying data whether it is having extra spaces or the case of the string is different.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 17:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267773#M46555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T17:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267774#M46556</link>
      <description>&lt;P&gt;It is, all the dimensions have loaded to the database &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dimension escola" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Bk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129489i91D6ED7C2800E07F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Bk.png" alt="0683p000009M8Bk.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;dimension escola&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dimension entidade" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Ew.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138325iCE44F44E236454DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Ew.png" alt="0683p000009M8Ew.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;dimension entidade&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dimension curso" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8F1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157984i83DE301E11B2E466/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8F1.png" alt="0683p000009M8F1.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;dimension curso&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 18:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267774#M46556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T18:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267775#M46557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please verify whether you are getting right values by adding tLogrow before tMap for each input data source. You may have to trim the data to avoid any data mismatch. Please also cross verify whether you are using UTF8 since the data seems to be not in English. This could identify the possible root cause.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 22:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267775#M46557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T22:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267776#M46558</link>
      <description>&lt;P&gt;Doesnt pass the ID's i&amp;nbsp; cant understand why, help me please&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fact table" style="width: 684px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8F6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142049i8D0743068F4FC51A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8F6.png" alt="0683p000009M8F6.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;fact table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileOutputDelimited" style="width: 471px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7w0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134726i9365B9706E5CA451/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7w0.png" alt="0683p000009M7w0.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tFileOutputDelimited&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 13:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267776#M46558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-23T13:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or update a child row: a foreign key constraint fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267777#M46559</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please add tLogrow and see the data? Use 5 or 10 input records for main row and restrict the records in lookup also. Then you will be able to check the details easily.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 753px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M857.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156375iA5BD9F97AC4C5CFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M857.png" alt="0683p000009M857.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you are adding dimension data in same job, could you please double check whether the data for dimension tables have been committed before querying them again for lookup?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 04:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-add-or-update-a-child-row-a-foreign-key-constraint-fails/m-p/2267777#M46559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-24T04:12:48Z</dc:date>
    </item>
  </channel>
</rss>

