<?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: Add new Columns in Kudu Tables from Impala in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319871#M228004</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28142"&gt;@Guarupe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you share your steps, please? Are you suing HUE to run your cmds? Did you use the Impala editor?&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 13:08:18 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2021-07-05T13:08:18Z</dc:date>
    <item>
      <title>Add new Columns in Kudu Tables from Impala</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319674#M227920</link>
      <description>&lt;P&gt;Hi Folks,&lt;BR /&gt;After adding new columns in Kudu tables from impala, I had some issues computing stats for this table. Everything works fine until the Compute Stats command;&lt;BR /&gt;&lt;BR /&gt;The alter table command&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ALTER TABLE myschema.mytable ADD COLUMNS (mycolumn TIMESTAMP DEFAULT now());&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue when Compute Stats command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ImpalaRuntimeException: Error making 'updateTableColumnStatistics' RPC to Hive Metastore: CAUSED BY: MetaException: Column mycolumn doesn't exist in table mytable in database myschema&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone can help me, please?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 17:46:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319674#M227920</guid>
      <dc:creator>Guarupe</dc:creator>
      <dc:date>2021-07-01T17:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add new Columns in Kudu Tables from Impala</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319799#M227964</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28142"&gt;@Guarupe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I responded to a similar question &lt;A href="https://community.cloudera.com/t5/Support-Questions/Warm-up-impala/m-p/319680#M227924" target="_blank" rel="noopener"&gt;Warm up Impala&lt;/A&gt;&lt;BR /&gt;You will need to run the&amp;nbsp;&amp;nbsp;INVALIDATE METADATA [[db_name.]table_name]&lt;BR /&gt;The error is precise Impala uses the Hive Metastore&amp;nbsp; [HMS] to build efficient queries&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CAUSED BY: MetaException: Column mycolumn doesn't exist in table mytable in database myschema&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case INVALIDATE METADATA [[myschema.]mytable]&amp;nbsp;&lt;BR /&gt;The INVALIDATE METADATA&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is an asynchronous operation that simply discards the loaded metadata from the catalog and coordinator caches. After that operation, the catalog and all the Impala coordinators only know about the existence of databases and tables and nothing more. Metadata loading for tables is triggered by any subsequent queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running this in the impala-shell you should compute statistics successfully&lt;BR /&gt;&lt;BR /&gt;Happy hadooping&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 11:07:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319799#M227964</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-07-04T11:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add new Columns in Kudu Tables from Impala</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319863#M228000</link>
      <description>&lt;P&gt;Hi Shelton,&lt;BR /&gt;Thanks for your reply, but INVALIDATE METADATA didn't work for me. I still have the same error. My option was to recreate the table with a CREATE TABLE as SELECT from the previous table.&lt;BR /&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 12:08:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319863#M228000</guid>
      <dc:creator>Guarupe</dc:creator>
      <dc:date>2021-07-05T12:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add new Columns in Kudu Tables from Impala</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319871#M228004</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28142"&gt;@Guarupe&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you share your steps, please? Are you suing HUE to run your cmds? Did you use the Impala editor?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 13:08:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319871#M228004</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-07-05T13:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add new Columns in Kudu Tables from Impala</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319877#M228007</link>
      <description>&lt;P&gt;Hi Shelton,&lt;BR /&gt;&lt;BR /&gt;The answer to all questions is yes. I'm using the Hue Impala Editor and all these commands were issued by HUE. As I've already solved the problem with a CREATE AS SELECT, I'm going to ask for a little time to simulate this problem again.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 14:13:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/319877#M228007</guid>
      <dc:creator>Guarupe</dc:creator>
      <dc:date>2021-07-05T14:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add new Columns in Kudu Tables from Impala</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/339956#M233221</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;, sorry for the delay in responding.&lt;BR /&gt;I finally found the solution to my problem. I need to specify the column properties and then Compute Stats will work perfectly.&lt;BR /&gt;```sql&lt;BR /&gt;ALTER TABLE myschema.mytable&lt;BR /&gt;ADD COLUMNS (mycolumn1 TIMESTAMP NULL COMPRESSION DEFAULT_COMPRESSION,&lt;BR /&gt;mycolumn2 TIMESTAMP NULL COMPRESSION DEFAULT_COMPRESSION);&lt;BR /&gt;```&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 19:17:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-new-Columns-in-Kudu-Tables-from-Impala/m-p/339956#M233221</guid>
      <dc:creator>Guarupe</dc:creator>
      <dc:date>2022-03-29T19:17:00Z</dc:date>
    </item>
  </channel>
</rss>

