<?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>question Failed with exception MetaException(message:Invalid partition key &amp; values; keys [feed_date, ], values []) FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failed-with-exception-MetaException-message-Invalid/m-p/114129#M76927</link>
    <description>&lt;P&gt;Hello frndz,&lt;/P&gt;&lt;P&gt;Can you please help me to understand below error.&lt;/P&gt;&lt;P&gt;Actually when I am doing union all join with two tables and creating one table with the help of this join then I am getting below error on tez execution engine. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Failed with exception MetaException(message:Invalid partition key &amp;amp; values; keys [feed_date, ], values []) FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But when I am running it on mr then it is running fine. I am using hdp2.3. &lt;/P&gt;&lt;P&gt;SQL:&lt;/P&gt;&lt;P&gt;hive&amp;gt; INSERT OVERWRITE TABLE clickstream_kpis.cs_android_event_lookup_tbl PARTITION (feed_date)&lt;/P&gt;&lt;P&gt;    &amp;gt; SELECT a.*&lt;/P&gt;&lt;P&gt;    &amp;gt; FROM&lt;/P&gt;&lt;P&gt;    &amp;gt;   (SELECT hitid_high,&lt;/P&gt;&lt;P&gt;    &amp;gt;           hitid_low,&lt;/P&gt;&lt;P&gt;    &amp;gt;           event_number,&lt;/P&gt;&lt;P&gt;    &amp;gt;           feed_date&lt;/P&gt;&lt;P&gt;    &amp;gt;    FROM clickstream_db.clickstream_android LATERAL VIEW explode(SPLIT (post_event_list,','))expld AS event_number&lt;/P&gt;&lt;P&gt;    &amp;gt;    WHERE feed_date BETWEEN '2016-01-01' AND '2016-01-31'&lt;/P&gt;&lt;P&gt;    &amp;gt;      AND post_event_list IS NOT NULL&lt;/P&gt;&lt;P&gt;    &amp;gt;    UNION ALL SELECT hitid_high,&lt;/P&gt;&lt;P&gt;    &amp;gt;                     hitid_low,&lt;/P&gt;&lt;P&gt;    &amp;gt;                     post_event_list AS event_number,&lt;/P&gt;&lt;P&gt;    &amp;gt;                                        feed_date&lt;/P&gt;&lt;P&gt;    &amp;gt;    FROM clickstream_db.clickstream_android&lt;/P&gt;&lt;P&gt;    &amp;gt;    WHERE feed_date BETWEEN '2016-01-01' AND '2016-01-31'&lt;/P&gt;&lt;P&gt;    &amp;gt;      AND post_event_list IS NULL)a;&lt;/P&gt;&lt;P&gt;Query ID = hdpbatch_20160304145048_5262fb30-6ed6-4a7c-ad5d-ca30a1bc57d6&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:07:36 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2022-09-16T10:07:36Z</dc:date>
  </channel>
</rss>

