<?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: tSchemaComplianceCheck in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260379#M1532</link>
    <description>&lt;P&gt;I guess I found the issue. The component generates this line of code: "select * from TEMP_TABLE;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Maybe that ";" is causing the issue.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is what is suggested from other communities:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.oracle.com/thread/2377506" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.oracle.com/thread/2377506&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/11855799/understanding-mysterious-oracle-jdbc-errors-ora-00911-invalid-character" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/11855799/understanding-mysterious-oracle-jdbc-errors-ora-00911-invalid-character&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Everyone suggests: "&lt;SPAN&gt;Try removing the semi colon from the end of your SQL statement.&lt;/SPAN&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But how can I remove that semi colon in Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried these steps:&lt;/P&gt; 
&lt;P&gt;1) switch to code view&lt;/P&gt; 
&lt;P&gt;2) open the code with default editor&lt;/P&gt; 
&lt;P&gt;3) I removed the semi colon&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4) right click and click on "Run As Java Application"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is what I get:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="invalid_character.PNG" style="width: 618px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzxo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148603i4AC83DD21729AA8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzxo.png" alt="0683p000009Lzxo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is that a valid check?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Sep 2018 10:13:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-21T10:13:43Z</dc:date>
    <item>
      <title>tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260374#M1527</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;using the tSchemaComplianceCheck component, as I enable the "Validation Rule" it throws an exception that is: “java.sql.SQLSyntaxErrorException: ORA-00911: invalid character”.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;From the Stack Trace, it seems to be related to this line of code: “&amp;nbsp; String dbquery_tOracleInput_tJoin_output_row5 = "select * from MASTROC.PROVA_DATA_QUALITY_UNIQUE;”&amp;nbsp; ”.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My Job is doing a connection to an Oracle DB and then with a tDBInput I make a SELECT query. From that output, I have linked the tSchemaComplianceCheck which has a validation rule linked.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The steps I followed are those in the link at:&amp;nbsp;&lt;A href="https://help.talend.com/reader/cLOzjXXJYu8HAIolzYu4WQ/7vIRhoxP1PmD439tIyGsrw" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://help.talend.com/reader/cLOzjXXJYu8HAIolzYu4WQ/7vIRhoxP1PmD439tIyGsrw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any suggestion?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260374#M1527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260375#M1528</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Would you mind posting your job design screenshot on forum which will be helpful for us to address your issue.&lt;/P&gt; 
&lt;P&gt;Please mask your sensitive data.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 04:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260375#M1528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-17T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260376#M1529</link>
      <description>&lt;P&gt;Hi Sabrina,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;yes please find it as attached.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't know how to insert the image "in line", so you can find it to the right.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;EDIT: I just found out how to insert the screenshot below &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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tschemacompliancecheck.PNG" style="width: 546px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzx0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153872i1232B9D0EB8D47B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzx0.png" alt="0683p000009Lzx0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltmy"&gt;tschemacompliancecheck.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 20 Sep 2018 15:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260376#M1529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T15:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260377#M1530</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Did you use dynamic schema feature in your job?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Are you able to run your query against an Oracle DB to see if an identifier starts with ASCII character?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 08:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260377#M1530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T08:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260378#M1531</link>
      <description>&lt;P&gt;As long as I use the component with its "out-of-the-box" features it works fine.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also the query against the DB works fine.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The issue comes as we enable the Validation Rule. Also, we're following the documentation at the link:&amp;nbsp;&lt;A href="https://help.talend.com/reader/cLOzjXXJYu8HAIolzYu4WQ/VYmDpwDBy6EMpPYPaXasgw" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/cLOzjXXJYu8HAIolzYu4WQ/VYmDpwDBy6EMpPYPaXasgw&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The only difference is the column we're checking is the ID column while in the example from the link it is any column.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 08:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260378#M1531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T08:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260379#M1532</link>
      <description>&lt;P&gt;I guess I found the issue. The component generates this line of code: "select * from TEMP_TABLE;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Maybe that ";" is causing the issue.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is what is suggested from other communities:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.oracle.com/thread/2377506" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.oracle.com/thread/2377506&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/11855799/understanding-mysterious-oracle-jdbc-errors-ora-00911-invalid-character" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/11855799/understanding-mysterious-oracle-jdbc-errors-ora-00911-invalid-character&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Everyone suggests: "&lt;SPAN&gt;Try removing the semi colon from the end of your SQL statement.&lt;/SPAN&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But how can I remove that semi colon in Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried these steps:&lt;/P&gt; 
&lt;P&gt;1) switch to code view&lt;/P&gt; 
&lt;P&gt;2) open the code with default editor&lt;/P&gt; 
&lt;P&gt;3) I removed the semi colon&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4) right click and click on "Run As Java Application"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is what I get:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="invalid_character.PNG" style="width: 618px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzxo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148603i4AC83DD21729AA8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzxo.png" alt="0683p000009Lzxo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is that a valid check?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 10:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260379#M1532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T10:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260380#M1533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You do not have to go to code view to remove the semicolon. Go back to the designer view and log inside the DB component&amp;nbsp; query section. Here you have to give the query without any semicolon.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 797px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzxt.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129672i3D7CF1CFF390F5DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzxt.png" alt="0683p000009Lzxt.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Another recommendation is not to use select * in your query. Please be specific about the list of columns of the table so that the tool can understand and can correctly map to the corresponding schema.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If the reply has helped to resolve your issue, could you please mark the topic as solution provided? Kudos are also welcome.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 17:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260380#M1533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T17:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: tSchemaComplianceCheck</title>
      <link>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260381#M1534</link>
      <description>&lt;P&gt;hi Nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;unfortunately what you suggest doesn't apply to our case.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As stated above, it is the component that generates that query. This means that it is the tSchemaComplianceCheck that generates that code automatically ("&lt;SPAN&gt;select * from TEMP_TABLE;&lt;/SPAN&gt;") . Just to give you more details, that "Temp_Table" that you see in the query, is the table that is used from the Validation Rule to check that the schema is compliant.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope it clarifies the scenario.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also tried providing as additional parameter to the JDBC connection, the "allowMultipleQueries = true" but it didn't solve the issue.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 14:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tSchemaComplianceCheck/m-p/2260381#M1534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T14:14:25Z</dc:date>
    </item>
  </channel>
</rss>

