<?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: User defined sql query in tHiveInput component not working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300847#M73028</link>
    <description>Hi,&lt;BR /&gt;Is your defined sql query working &amp;nbsp;well on your hive cluster without using thiveinput component? On which build version you got this issue?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 06 Jul 2016 04:49:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-06T04:49:24Z</dc:date>
    <item>
      <title>User defined sql query in tHiveInput component not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300846#M73027</link>
      <description>Hi,
&lt;BR /&gt;I am trying to mention a min() function where clause (sub query) in one of my 'tHiveInput' component as below:-
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;"select&amp;nbsp;&lt;/I&gt;&lt;/B&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;agents_updates.col1,&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;agents_updates.col2&lt;/I&gt;&lt;/B&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;FROM tl.agents_updates&lt;/I&gt;&lt;/B&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;WHERE agents_updates.loadtime = (Select min(t2.loadtime) from tl.agents_updates t2)"&lt;/I&gt;&lt;/B&gt;
&lt;BR /&gt;
&lt;U&gt;I am getting below error any suggestions please:-&lt;/U&gt;
&lt;BR /&gt; connecting to socket on port 3630
&lt;BR /&gt; connected
&lt;BR /&gt;Exception in component tHiveInput_3
&lt;BR /&gt;java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
&lt;BR /&gt;at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:296)
&lt;BR /&gt;at org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:392)
&lt;BR /&gt;at bi_poc_mi.j1000_stg_agency_diff_lake_to_vault_min_wip_0_1.J1000_Stg_Agency_Diff_Lake_To_Vault_Min_WIP.tHiveInput_3Process(J1000_Stg_Agency_Diff_Lake_To_Vault_Min_WIP.java:4986)
&lt;BR /&gt;at bi_poc_mi.j1000_stg_agency_diff_lake_to_vault_min_wip_0_1.J1000_Stg_Agency_Diff_Lake_To_Vault_Min_WIP.runJobInTOS(J1000_Stg_Agency_Diff_Lake_To_Vault_Min_WIP.java:8097)
&lt;BR /&gt;at bi_poc_mi.j1000_stg_agency_diff_lake_to_vault_min_wip_0_1.J1000_Stg_Agency_Diff_Lake_To_Vault_Min_WIP.main(J1000_Stg_Agency_Diff_Lake_To_Vault_Min_WIP.java:7942)</description>
      <pubDate>Sat, 16 Nov 2024 10:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300846#M73027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: User defined sql query in tHiveInput component not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300847#M73028</link>
      <description>Hi,&lt;BR /&gt;Is your defined sql query working &amp;nbsp;well on your hive cluster without using thiveinput component? On which build version you got this issue?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 06 Jul 2016 04:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300847#M73028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-06T04:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: User defined sql query in tHiveInput component not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300848#M73029</link>
      <description>Hi Sabrina,&lt;BR /&gt;Thanks for the reply and apologies for the late response.Yes the queries are working in HQL editor (like HUE) but not working tHiveinput componet.I am using TalendOpenStudio6.1 for Bigdata edition.&lt;BR /&gt;Cheers,</description>
      <pubDate>Fri, 15 Jul 2016 16:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300848#M73029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-15T16:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: User defined sql query in tHiveInput component not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300849#M73030</link>
      <description>&lt;P&gt;avez vous une idée sur cette erreur&lt;/P&gt;&lt;P&gt;Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 17:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300849#M73030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T17:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: User defined sql query in tHiveInput component not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300850#M73031</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;What's does your sql query look like? Are you using ‘Where' clause in the query? Does it work if you remove the clause?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 08:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/User-defined-sql-query-in-tHiveInput-component-not-working/m-p/2300850#M73031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-21T08:36:50Z</dc:date>
    </item>
  </channel>
</rss>

