<?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: Return results from HIVE query (not select statements) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313743#M84569</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;When you use tHiveRow or t&amp;lt;DB&amp;gt;Row, you'd better create job as follows.&lt;/P&gt; 
&lt;P&gt;tHiveRow--&amp;gt;tParseRecordSet--&amp;gt;tLogRow&lt;/P&gt; 
&lt;P&gt;Add a column in tHiveRow and select "Object" data type.&lt;BR /&gt;Check Advanced settings-&amp;gt; "Propagate QUERY's recordset" and select the object column.&lt;BR /&gt;Retrieve state and name in tParseRecordSet(Set "state" and "name" in Value).&lt;/P&gt; 
&lt;P&gt;Let us know if it works for you.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2017 08:27:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-25T08:27:35Z</dc:date>
    <item>
      <title>Return results from HIVE query (not select statements)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313742#M84568</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the tHiveRow component to execute a simple HIVE query to show the list of tables within a HIVE database. How would I return the query result that I would normally be able to see in the HIVE CLI so I can use it with other component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313742#M84568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Return results from HIVE query (not select statements)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313743#M84569</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;When you use tHiveRow or t&amp;lt;DB&amp;gt;Row, you'd better create job as follows.&lt;/P&gt; 
&lt;P&gt;tHiveRow--&amp;gt;tParseRecordSet--&amp;gt;tLogRow&lt;/P&gt; 
&lt;P&gt;Add a column in tHiveRow and select "Object" data type.&lt;BR /&gt;Check Advanced settings-&amp;gt; "Propagate QUERY's recordset" and select the object column.&lt;BR /&gt;Retrieve state and name in tParseRecordSet(Set "state" and "name" in Value).&lt;/P&gt; 
&lt;P&gt;Let us know if it works for you.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 08:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313743#M84569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-25T08:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Return results from HIVE query (not select statements)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313744#M84570</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;I am working on a similar problem. And i didnt understand, the below line&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;Retrieve state and name in tParseRecordSet(Set "state" and "name" in Value).&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Could you please explain (or) give an example on how to set the values in tParseRecordSet.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So, I added a new component "tParseRecordSet" and choose "final_query" (i.e. this is the column, which has has a list of list of queries, i.e. which was an output from tJavaRow) for Prev.Comp.Column List drop-down.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And under Attribute table, i added as below..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Column: col_1&lt;/P&gt; 
&lt;P&gt;Value : "col_1_value"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And i see error as below..&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;Exception in component tParseRecordSet_1&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;java.lang.ClassCastException: java.lang.String cannot be cast to java.sql.ResultSet&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Could you please let me know, how to fix this.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 13:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313744#M84570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T13:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Return results from HIVE query (not select statements)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313745#M84571</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Please let me know&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-results-from-HIVE-query-not-select-statements/m-p/2313745#M84571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-04T06:28:07Z</dc:date>
    </item>
  </channel>
</rss>

