<?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: Error when do an alter table change column on an acid table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395956#M249065</link>
    <description>&lt;P&gt;Error looks similar to&amp;nbsp;HIVE-27778.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you try the workaround given in the &lt;A href="https://community.cloudera.com/t5/Customer/Alter-Table-Fails-With-quot-Unable-to-alter-table-Cannot/ta-p/380703" target="_self"&gt;kb&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2024 12:02:09 GMT</pubDate>
    <dc:creator>ggangadharan</dc:creator>
    <dc:date>2024-10-25T12:02:09Z</dc:date>
    <item>
      <title>Error when do an alter table change column on an acid table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395913#M249061</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have done this before but now we are trying to make a change on a table column and we are getting the follow error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;Error while compiling statement: FAILED: Execution Error, return code 40013 from org.apache.hadoop.hive.ql.ddl.DDLTask. Unable to alter table. Cannot change stats state for a transactional table pro_con.dmcrp001_th_importe_consolidado_contrato without providing the transactional write state for verification (new write ID 327, valid write IDs null; current state null; new state {}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The statement that we are executing is:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;alter table `pro_con`.`dmcrp001_th_importe_consolidado_contrato` change column `fecha_movimiento` `fecha_proceso_dia` timestamp comment 'Fecha de referencia de los datos.';&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 14:56:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395913#M249061</guid>
      <dc:creator>Edu7478</dc:creator>
      <dc:date>2024-10-24T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when do an alter table change column on an acid table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395915#M249062</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38161"&gt;@cravani&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12885"&gt;@mszurap&lt;/a&gt;&amp;nbsp;Hi! Do you have any insights here? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 15:47:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395915#M249062</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-10-24T15:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when do an alter table change column on an acid table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395951#M249063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93281"&gt;@Edu7478&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Help us in sharing the below details&lt;BR /&gt;Exact CDP and CM version .&lt;BR /&gt;During the time of issue appears provide us the HS2 and HMS logs from all nodes&amp;nbsp;&lt;BR /&gt;Is table is partitioned table? Share us the DDL for the same&lt;BR /&gt;DESCRIBE FORMATTED&amp;nbsp;pro_con.dmcrp001_th_importe_consolidado_contrato;&lt;BR /&gt;SHOW CREATE TABLE&amp;nbsp;pro_con.dmcrp001_th_importe_consolidado_contrato;&lt;BR /&gt;Try with following&amp;nbsp; setting at session level&amp;nbsp; &amp;nbsp;set hive.stats.autogather=false; and rerun the query .If it fails let us know&lt;BR /&gt;For more info refer the below KB article&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Customer/Alter-Table-Fails-With-quot-Unable-to-alter-table-Cannot/ta-p/380703" target="_blank"&gt;https://community.cloudera.com/t5/Customer/Alter-Table-Fails-With-quot-Unable-to-alter-table-Cannot/ta-p/380703&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 08:49:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395951#M249063</guid>
      <dc:creator>Mounika_Reddy</dc:creator>
      <dc:date>2024-10-25T08:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when do an alter table change column on an acid table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395956#M249065</link>
      <description>&lt;P&gt;Error looks similar to&amp;nbsp;HIVE-27778.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you try the workaround given in the &lt;A href="https://community.cloudera.com/t5/Customer/Alter-Table-Fails-With-quot-Unable-to-alter-table-Cannot/ta-p/380703" target="_self"&gt;kb&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 12:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-when-do-an-alter-table-change-column-on-an-acid-table/m-p/395956#M249065</guid>
      <dc:creator>ggangadharan</dc:creator>
      <dc:date>2024-10-25T12:02:09Z</dc:date>
    </item>
  </channel>
</rss>

