You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/12/02 02:21:44 UTC

[GitHub] [incubator-doris] marising commented on a change in pull request #2310: Suport convert float to double, datetime to date by "alter table modify column type"

marising commented on a change in pull request #2310: Suport convert float to double, datetime to date by "alter table modify column type"
URL: https://github.com/apache/incubator-doris/pull/2310#discussion_r352398089
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/ColumnType.java
 ##########
 @@ -63,7 +63,9 @@
         schemaChangeMatrix[PrimitiveType.CHAR.ordinal()][PrimitiveType.VARCHAR.ordinal()] = true;
         schemaChangeMatrix[PrimitiveType.CHAR.ordinal()][PrimitiveType.CHAR.ordinal()] = true;
 
-        schemaChangeMatrix[PrimitiveType.DATE.ordinal()][PrimitiveType.DATETIME.ordinal()] = true;
+        //schemaChangeMatrix[PrimitiveType.DATE.ordinal()][PrimitiveType.DATETIME.ordinal()] = true;
 
 Review comment:
   BE dosen't support convert from date to datetime now. I will realize this feature later.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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