<?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 Re: Partition Spec Does Not Exist error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42148#M9458</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12577"&gt;@jbapple&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;You can follow the bug I linked to above for any&amp;nbsp;future updates. Right nowI have no news for you.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;DOH! Didn't even see that link. Must pay more attention, my apologies.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 13:37:11 GMT</pubDate>
    <dc:creator>jamiet</dc:creator>
    <dc:date>2016-06-20T13:37:11Z</dc:date>
    <item>
      <title>Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33460#M9452</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're seeing an intermittent issue with some of our Impala queries, where a compute incremental stats statement will fail with an "AnalysisException: Partition spec does not exist:" error, immediately after we have created the partition in the same script. &amp;nbsp;So, a (faked) example would look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ALTER TABLE db.table_name DROP IF EXISTS PARTITION (partition_column = 1234);

INSERT INTO TABLE 
   db.table_name 
PARTITION 
(
   partition_column = 1234
)
SELECT   
   column1
 , column2
 , ...
FROM
   db.another_table
;

COMPUTE INCREMENTAL STATS db.table_name (partition_column = 1234);

AnalysisException: Partition spec does not exist: (partition_column = 1234).&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tables in question are not being modifed by any external processes so we're not sure what could be happening here - has anyone else encountered this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:46:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33460#M9452</guid>
      <dc:creator>MikeA</dc:creator>
      <dc:date>2022-09-16T09:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33473#M9453</link>
      <description>&lt;P&gt;This is a known issue, but I havent yet seen it without multiple&amp;nbsp;concurent Impala writers.&lt;/P&gt;&lt;P&gt;(I have been able to repro it&amp;nbsp;both in the same&amp;nbsp;impalad and in different impalads.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.cloudera.org/browse/IMPALA-2423" target="_blank"&gt;https://issues.cloudera.org/browse/IMPALA-2423&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there only a single&amp;nbsp;writer using a single impalad at the time?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 15:52:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33473#M9453</guid>
      <dc:creator>jbapple</dc:creator>
      <dc:date>2015-10-27T15:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33478#M9454</link>
      <description>&lt;P&gt;Thanks for the response, and&amp;nbsp;&amp;nbsp;yes, is looks like that's the issue - going over&amp;nbsp;our logs it sems that&amp;nbsp;this only occurs when&amp;nbsp;we have multiple impalads targeting different partitions in the same table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Incidentally, I think we've seen this with as few as two concurrent operations, but in this case the two operations are likely to both start and complete at almost exactly the same times, so I guess there may be some race condition when updating the partition metadata?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 17:53:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33478#M9454</guid>
      <dc:creator>MikeA</dc:creator>
      <dc:date>2015-10-27T17:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33489#M9455</link>
      <description>&lt;P&gt;Could be. We're still looking into it.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 22:03:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/33489#M9455</guid>
      <dc:creator>jbapple</dc:creator>
      <dc:date>2015-10-27T22:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42146#M9456</link>
      <description>&lt;P&gt;Hi jbapple,&lt;/P&gt;&lt;P&gt;I'm a colleague of Mike that originally submitted this. we're still hitting the issue&amp;nbsp;&lt;SPAN&gt; (Impala v2.3.0-cdh5.5.1), any update on whether or not this might be fixed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jamie&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:49:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42146#M9456</guid>
      <dc:creator>jamiet</dc:creator>
      <dc:date>2016-06-20T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42147#M9457</link>
      <description>&lt;P&gt;You can follow the bug I linked to above for any&amp;nbsp;future updates. Right nowI have no news for you.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:35:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42147#M9457</guid>
      <dc:creator>jbapple</dc:creator>
      <dc:date>2016-06-20T13:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Spec Does Not Exist error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42148#M9458</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12577"&gt;@jbapple&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;You can follow the bug I linked to above for any&amp;nbsp;future updates. Right nowI have no news for you.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;DOH! Didn't even see that link. Must pay more attention, my apologies.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:37:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Spec-Does-Not-Exist-error/m-p/42148#M9458</guid>
      <dc:creator>jamiet</dc:creator>
      <dc:date>2016-06-20T13:37:11Z</dc:date>
    </item>
  </channel>
</rss>

