yangjun616 opened a new issue #4155:
URL: https://github.com/apache/incubator-doris/issues/4155


   here is a table
   `CREATE TABLE `table_v2` (
     `date_partition` date NULL COMMENT "xxx",
     `date_time` datetime NULL COMMENT "xx",
     `is_some` int(11) NULL COMMENT "xxxx",
     `uuid` hll HLL_UNION NULL COMMENT "xxxx",
     INDEX xxx_index_date (`date_partition`) USING BITMAP COMMENT 'xx',
     INDEX xxxx_is_some (`is_some`) USING BITMAP COMMENT 'xxx',
   ) ENGINE=OLAP
   AGGREGATE KEY(`date_partition`, `date_time`, `is_some`)
   COMMENT "OLAP-index"
   PARTITION BY RANGE(`date_partition`)
   (PARTITION p20200710 VALUES [('1970-01-01'), ('2020-07-10')))
   PROPERTIES (
   "replication_num" = "3",
   "in_memory" = "false",
   "storage_format" = "V2"
   );`
   
   when schema chage `alter table  table_v2  modify column is_some TINYINT` 
   then `errCode = 2, detailMessage = Can not change INT to TINYINT`
   but document
    `      
     5) 目前支持以下类型的转换(精度损失由用户保证)
               TINYINT/SMALLINT/INT/BIGINT 转换成 
TINYINT/SMALLINT/INT/BIGINT/DOUBLE。
     `


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to