<?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: Oracle query - failing Guess Schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247946#M32956</link>
    <description>&lt;P&gt;Thanks TRF.&amp;nbsp; Removing the last semi-colon didn't fix the issue.&lt;/P&gt; 
&lt;P&gt;I could create a View on the Oracle DB, but in most cases, I'm using&amp;nbsp;read-only creds and need to pull by query in the ETL tool.&lt;/P&gt; 
&lt;P&gt;I've used Informatica and MS SSIS in the past for ETL. Both have&amp;nbsp;not had any issue handling similar queries.&lt;/P&gt; 
&lt;P&gt;Would like to see Talend handle them better.&amp;nbsp; Should be as easy as pasting the query in once the DB connection and tables are set up.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 19:17:46 GMT</pubDate>
    <dc:creator>CWest99</dc:creator>
    <dc:date>2017-05-03T19:17:46Z</dc:date>
    <item>
      <title>Oracle query - failing Guess Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247944#M32954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;New to community. First post here. Noob designer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have an Oracle query with a number of conditions in a tOracleInput component. Trying to get it to&amp;nbsp; guess the schema. Getting ORA-00933 error. Can't seem to find any issues with query.&amp;nbsp; Query runs fine in Oracle SQL Developer.&amp;nbsp; Suggestions?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance,&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt; 
&lt;P&gt;----------------------------------------------&lt;/P&gt; 
&lt;P&gt;SELECT CAST(WIP_DOCUMENT_ACTION.DOCUMENT_ID AS NUMERIC(18,1)) AS \"DocumentID\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.LNI,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.BASE_FILENAME AS \"WIPFile\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.WIP_ID,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.SOURCE_ID,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.JURISDICTION,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.LEXIS_CITE,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.PROCESS_NO,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.START_TIME&amp;nbsp; AS \"StartTime\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.END_TIME AS \"EndTime\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_STATUS.NAME AS \"StatusName\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.SPEC_HOURS,&lt;BR /&gt;&amp;nbsp; SUBSTR(NVL(WIP_AGGREGATE.NAME , 'null'), 1, 64) AS \"JobAggregate\",&lt;BR /&gt;&amp;nbsp; WIP_ACTION.NAME AS \"ActionName\",&lt;BR /&gt;&amp;nbsp; WIP_ACTION_STATUS.NAME AS \"ActionStatus\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_ACTION.USER_ID,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_ACTION.SPEC_HOURS AS \"Action_Spec_Hours\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_ACTION.GROUP_FACTOR AS \"Group_Factor\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_ACTION.READY_TIME AS \"Action_Ready_Time\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_ACTION.START_TIME AS \"Action_Start_Time\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_ACTION.END_TIME AS \"Action_End_Time\",&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.INPUT_VERSION,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT.UPDATE_VERSION&lt;BR /&gt;FROM WIP_DOCUMENT_ACTION,&lt;BR /&gt;&amp;nbsp; WIP_AGGREGATE_DOCUMENT,&lt;BR /&gt;&amp;nbsp; WIP_RPT_HIERARCHY,&lt;BR /&gt;&amp;nbsp; WIP_ACTION,&lt;BR /&gt;&amp;nbsp; WIP_AGGREGATE,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT_STATUS,&lt;BR /&gt;&amp;nbsp; WIP_ACTION_STATUS,&lt;BR /&gt;&amp;nbsp; WIP_DOCUMENT&lt;BR /&gt;WHERE WIP_RPT_HIERARCHY.ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_DOCUMENT.RPT_HIER_ID&lt;BR /&gt;AND WIP_RPT_HIERARCHY.ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_DOCUMENT_ACTION.RPT_HIER_ID&lt;BR /&gt;AND WIP_ACTION.ACTION_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_DOCUMENT_ACTION.ACTION_NO&lt;BR /&gt;AND WIP_AGGREGATE.AGGREGATE_ID&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_AGGREGATE_DOCUMENT.AGGREGATE_ID&lt;BR /&gt;AND WIP_DOCUMENT_STATUS.STATUS_NO = WIP_DOCUMENT.STATUS_NO&lt;BR /&gt;AND WIP_ACTION_STATUS.STATUS_NO&amp;nbsp;&amp;nbsp; = WIP_DOCUMENT_ACTION.ACTION_STATUS_NO&lt;BR /&gt;AND WIP_DOCUMENT.DOCUMENT_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_AGGREGATE_DOCUMENT.DOCUMENT_ID&lt;BR /&gt;AND WIP_DOCUMENT.DOCUMENT_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_DOCUMENT_ACTION.DOCUMENT_ID&lt;BR /&gt;AND WIP_DOCUMENT.STATUS_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WIP_DOCUMENT_STATUS.STATUS_NO&lt;BR /&gt;AND ((WIP_DOCUMENT.PROCESS_NO IN ('1001', '1004', '1006', '1094', '1129', '1121', '1122', '1105')&lt;BR /&gt;OR WIP_DOCUMENT.PROCESS_NO BETWEEN 1500 AND 1599&lt;BR /&gt;OR WIP_DOCUMENT.PROCESS_NO BETWEEN 1700 AND 1799)&lt;BR /&gt;OR (WIP_DOCUMENT_ACTION.USER_ID NOT IN ('nfd', 'u1elsa', 'u1hccsad')&lt;BR /&gt;OR WIP_DOCUMENT_ACTION.USER_ID IS NULL))&lt;BR /&gt;AND WIP_DOCUMENT.END_TIME &amp;gt;= (SELECT (next_day(TRUNC(SysDate), 'sunday') - 14) FROM DUAL)&lt;BR /&gt;AND WIP_DOCUMENT.END_TIME &amp;lt; (SELECT (next_day(TRUNC(SysDate), 'sunday') - &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; + 24 / 24 FROM DUAL)&lt;BR /&gt;AND NVL(WIP_AGGREGATE_DOCUMENT.ACTIVE_FLAG, 'Y') = 'Y'&lt;BR /&gt;AND NVL(WIP_AGGREGATE.TYPE_NO, 1) = 1&lt;BR /&gt;AND WIP_RPT_HIERARCHY.DIVISION_ID IN ('EDOP-1', 'TAX_DIV', 'FedAgencyDiv');&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247944#M32954</guid>
      <dc:creator>CWest99</dc:creator>
      <dc:date>2024-11-16T09:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle query - failing Guess Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247945#M32955</link>
      <description>I suggest you to create a view on oracle side and use it in the tOracleInpout. It should help you to solve the problem with "guess schema". Also, try to remove the final semi column (maybe the cause of ORA-00933).
&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2017 18:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247945#M32955</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-03T18:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle query - failing Guess Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247946#M32956</link>
      <description>&lt;P&gt;Thanks TRF.&amp;nbsp; Removing the last semi-colon didn't fix the issue.&lt;/P&gt; 
&lt;P&gt;I could create a View on the Oracle DB, but in most cases, I'm using&amp;nbsp;read-only creds and need to pull by query in the ETL tool.&lt;/P&gt; 
&lt;P&gt;I've used Informatica and MS SSIS in the past for ETL. Both have&amp;nbsp;not had any issue handling similar queries.&lt;/P&gt; 
&lt;P&gt;Would like to see Talend handle them better.&amp;nbsp; Should be as easy as pasting the query in once the DB connection and tables are set up.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 19:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247946#M32956</guid>
      <dc:creator>CWest99</dc:creator>
      <dc:date>2017-05-03T19:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle query - failing Guess Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247947#M32957</link>
      <description>The query seems to be malformed.
&lt;BR /&gt;Did you try to remove the \" arround the column names? Maybe an issue in the "guess schema" fonction because of that.
&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2017 19:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247947#M32957</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-03T19:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle query - failing Guess Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247948#M32958</link>
      <description>Hi TRF,
&lt;BR /&gt;Talend's editor actually added those when I used it. I assumed it was necessary for the Talend parser.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Chris
&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2017 19:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-query-failing-Guess-Schema/m-p/2247948#M32958</guid>
      <dc:creator>CWest99</dc:creator>
      <dc:date>2017-05-03T19:46:17Z</dc:date>
    </item>
  </channel>
</rss>

