You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Jepson (JIRA)" <ji...@apache.org> on 2018/09/12 03:20:00 UTC

[jira] [Comment Edited] (PHOENIX-4815) support alter table modify column

    [ https://issues.apache.org/jira/browse/PHOENIX-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611516#comment-16611516 ] 

Jepson edited comment on PHOENIX-4815 at 9/12/18 3:19 AM:
----------------------------------------------------------

Thanks for [~Jaanai] 

My phoenix version:4.10.0   , I will test it.


was (Author: 1028344078@qq.com):
Thanks for [~Jaanai]  , I will test it.

> support alter table modify column 
> ----------------------------------
>
>                 Key: PHOENIX-4815
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4815
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.12.0
>            Reporter: Jaanai
>            Assignee: Jaanai
>            Priority: Major
>         Attachments: PHOENIX-4815.patch
>
>
> if we want to change max length or scale of  fields of  variable length type(  example for :varchar, char and decimal type etc),  we can not drop column to recreate new column when the table has massive data,  which may affects online service,meanwhile, it is also very expensive. so sometimes this function is very useful.
> Taking ORACLE dialect as an reference 
> {code:java}
> alter table
>    table_name
> modify
>    column_name  datatype;
> {code}
> reference link: https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_3001.htm#i2103956



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)