<?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: change datatype column in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/change-datatype-column/m-p/319834#M227978</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/81707"&gt;@roshanbi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We can confirm you that the type of Kudu's column cannot be changed after it is created.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;One is that in the Known issue of document [1], the following information is explained.&lt;/P&gt;&lt;P class="p1"&gt;Non-alterable Column Types&lt;/P&gt;&lt;P class="p1"&gt;Kudu does not allow the type of a column to be altered.&lt;/P&gt;&lt;P class="p1"&gt;The second is that in the Impala documentation, there is no description that you can change the field type of Kudu.&lt;/P&gt;&lt;P class="p1"&gt;[1].&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;A href="https://kudu.apache.org/docs/schema_design.html#known-limitations" target="_blank"&gt;https://kudu.apache.org/docs/schema_design.html#known-limitations&lt;/A&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;After your review you can accept this as a solution and it helps others who are looking for the same.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thank you,&lt;/P&gt;&lt;P class="p1"&gt;Chethan YM&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 06:36:55 GMT</pubDate>
    <dc:creator>ChethanYM</dc:creator>
    <dc:date>2021-07-05T06:36:55Z</dc:date>
    <item>
      <title>change datatype column</title>
      <link>https://community.cloudera.com/t5/Support-Questions/change-datatype-column/m-p/319495#M227850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way we can change the datatype from int to double for a column on Impala? Table size is around 3 billion records. I do not plan to drop and recreate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALTER TABLE cbs.gprs_home_cdrs CHANGE percentage_val_n percentage_val_n double;&lt;/P&gt;&lt;DIV class="snippet-execution-status"&gt;&lt;DIV class="snippet-error-container alert alert-error"&gt;&lt;UL class="unstyled"&gt;&lt;LI&gt;AnalysisException: Cannot change the type of a Kudu column using an ALTER TABLE CHANGE COLUMN statement: (INT vs DOUBLE)&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="snippet-code-resizer ui-draggable ui-draggable-handle"&gt;&lt;P&gt;impalad version 3.4.0-SNAPSHOT RELEASE (build 134517e42b7b6085e758195465f956f431e0e575) Built on Sat Dec 12 11:15:02 UTC 2020&lt;BR /&gt;Version: Cloudera Enterprise 7.1.3 (#4999720 built by jenkins on 20200805-1701 git: fa596184790377f07ba80e9cd4da8b875237939c)&lt;/P&gt;&lt;P&gt;Java VM Name: OpenJDK 64-Bit Server VM&lt;/P&gt;&lt;P&gt;Java Version: 11.0.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roshan&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Jun 2021 05:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/change-datatype-column/m-p/319495#M227850</guid>
      <dc:creator>roshanbi</dc:creator>
      <dc:date>2021-06-29T05:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: change datatype column</title>
      <link>https://community.cloudera.com/t5/Support-Questions/change-datatype-column/m-p/319834#M227978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/81707"&gt;@roshanbi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We can confirm you that the type of Kudu's column cannot be changed after it is created.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;One is that in the Known issue of document [1], the following information is explained.&lt;/P&gt;&lt;P class="p1"&gt;Non-alterable Column Types&lt;/P&gt;&lt;P class="p1"&gt;Kudu does not allow the type of a column to be altered.&lt;/P&gt;&lt;P class="p1"&gt;The second is that in the Impala documentation, there is no description that you can change the field type of Kudu.&lt;/P&gt;&lt;P class="p1"&gt;[1].&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;A href="https://kudu.apache.org/docs/schema_design.html#known-limitations" target="_blank"&gt;https://kudu.apache.org/docs/schema_design.html#known-limitations&lt;/A&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;After your review you can accept this as a solution and it helps others who are looking for the same.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thank you,&lt;/P&gt;&lt;P class="p1"&gt;Chethan YM&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 06:36:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/change-datatype-column/m-p/319834#M227978</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2021-07-05T06:36:55Z</dc:date>
    </item>
  </channel>
</rss>

