<?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 How can I set up Hive parameters in a tHiveRow query? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296071#M68772</link>
    <description>&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;I am trying to run the following query in a tHiveRow component:&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;"SET hive.exec.dynamic.partition=true&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.exec.dynamic.partition.mode=nonstrict&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.optimize.sort.dynamic.partition=true&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.exec.max.dynamic.partitions=2048&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.exec.max.dynamic.partitions.pernode=300&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;INSERT OVERWRITE TABLE table_test PARTITION (date) SELECT * FROM (SELECT tmp.id,opw.desc, opw.nm, opw.groupnm, tmp.date&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;AS date FROM table_test tmp LEFT JOINmock_table opw ON tmp.date = opw.date AND tmp.id = opw.id) t1"&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;The job runs ok (no errors) but nothing is inserted in table_test.
&lt;BR /&gt;Could someone tell me what am I doing wrong?
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;Facundo.</description>
    <pubDate>Mon, 22 Aug 2016 22:40:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-22T22:40:04Z</dc:date>
    <item>
      <title>How can I set up Hive parameters in a tHiveRow query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296071#M68772</link>
      <description>&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;I am trying to run the following query in a tHiveRow component:&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;"SET hive.exec.dynamic.partition=true&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.exec.dynamic.partition.mode=nonstrict&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.optimize.sort.dynamic.partition=true&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.exec.max.dynamic.partitions=2048&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;SET hive.exec.max.dynamic.partitions.pernode=300&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;INSERT OVERWRITE TABLE table_test PARTITION (date) SELECT * FROM (SELECT tmp.id,opw.desc, opw.nm, opw.groupnm, tmp.date&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, sans-serif"&gt;&lt;FONT size="2"&gt;AS date FROM table_test tmp LEFT JOINmock_table opw ON tmp.date = opw.date AND tmp.id = opw.id) t1"&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;The job runs ok (no errors) but nothing is inserted in table_test.
&lt;BR /&gt;Could someone tell me what am I doing wrong?
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;Facundo.</description>
      <pubDate>Mon, 22 Aug 2016 22:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296071#M68772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-22T22:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set up Hive parameters in a tHiveRow query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296072#M68773</link>
      <description>Hi,&lt;BR /&gt;Could you please check out "Die on error" option on tHiveRow component to see if there is any error message printed on console?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 24 Aug 2016 08:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296072#M68773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-24T08:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set up Hive parameters in a tHiveRow query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296073#M68774</link>
      <description>"Die on error" is checked and the query runs successfully but the table 
&lt;FONT size="2"&gt;table_test is empty.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;This topic is similar to this other one:&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;Where I couldn't find an successfully answer.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;Please, let me know if there are a way to run that query in on tHiveRow component.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;I've found that I can split that query in several queries using a tFixedFlowInput, I tried but I have not been able to set it up correctly. If this way would be a possibility, please let me know how can I implement a tFixedFlowInput and a tHiveRow to process several queries.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;Thanks&lt;/FONT&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-set-up-Hive-parameters-in-a-tHiveRow-query/m-p/2296073#M68774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-24T21:23:28Z</dc:date>
    </item>
  </channel>
</rss>

