You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "jiangmanhua (JIRA)" <ji...@apache.org> on 2018/07/06 01:38:00 UTC

[jira] [Commented] (CARBONDATA-2695) Block alter name/datatype of the long_string_columns

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

jiangmanhua commented on CARBONDATA-2695:
-----------------------------------------

1、For datatype:

carbon only supports to change datatype of number:


Int -> bigInt/Long
Decimal -> from lower precision to higher precision


Ref code:
org.apache.spark.sql.parser.CarbonSpark2SqlParser#alterTableModifyDataType : parseDataType
org.apache.spark.sql.execution.command.schema.CarbonAlterTableDataTypeChangeCommand#validateColumnDataType

 

2、For alter column name:  not support.

 

 

> Block alter name/datatype of the long_string_columns
> ----------------------------------------------------
>
>                 Key: CARBONDATA-2695
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2695
>             Project: CarbonData
>          Issue Type: Sub-task
>            Reporter: xuchuanyin
>            Assignee: jiangmanhua
>            Priority: Major
>




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