<?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: how to alter hive table partition in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159166#M57167</link>
    <description>&lt;P&gt;The below HCC post has a pretty good explanation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/15161/can-we-apply-the-partitioning-on-the-already-exist.html" target="_blank"&gt;https://community.hortonworks.com/questions/15161/can-we-apply-the-partitioning-on-the-already-exist.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 06:18:56 GMT</pubDate>
    <dc:creator>namaheshwari</dc:creator>
    <dc:date>2017-03-16T06:18:56Z</dc:date>
    <item>
      <title>how to alter hive table partition</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159165#M57166</link>
      <description>&lt;P&gt;I am using hdp 2.4.2 (hive - 1.2.1.2.4).&lt;/P&gt;&lt;P&gt;When I tried using the following hive command it gives me error.  Is there a way to alter the table partition location?&lt;/P&gt;&lt;PRE&gt;show partitions btest.testcglbalances;
+-----------------------+--+
|       partition       |
+-----------------------+--+
| load_date=2017-02-16  |
+-----------------------+--+


alter table btest.testcglbalances partition (load_date='2017-02-16') set location 's3a://xxx/data/test/test2/2017-02-16';

Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter partition. alter is not possible (state=08S01,code=1)&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:15:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159165#M57166</guid>
      <dc:creator>bshah1</dc:creator>
      <dc:date>2022-09-16T11:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to alter hive table partition</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159166#M57167</link>
      <description>&lt;P&gt;The below HCC post has a pretty good explanation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/15161/can-we-apply-the-partitioning-on-the-already-exist.html" target="_blank"&gt;https://community.hortonworks.com/questions/15161/can-we-apply-the-partitioning-on-the-already-exist.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 06:18:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159166#M57167</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-16T06:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to alter hive table partition</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159167#M57168</link>
      <description>&lt;P&gt;If you ran this using beeline connecting to HS2, can you check the full error stack trace in the hiveserver2.log?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 06:52:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159167#M57168</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-03-16T06:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to alter hive table partition</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159168#M57169</link>
      <description>&lt;P&gt;thanks for your reply.  that help&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 10:35:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-alter-hive-table-partition/m-p/159168#M57169</guid>
      <dc:creator>bshah1</dc:creator>
      <dc:date>2017-03-16T10:35:07Z</dc:date>
    </item>
  </channel>
</rss>

