This is an automated email from the ASF dual-hosted git repository.

englefly pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 8897940c2ab [opt](statistic) use explicit datetimev2 as update_time 
column's type (#63014)
8897940c2ab is described below

commit 8897940c2ab8fb266105e481c25cfb6284090acf
Author: morrySnow <[email protected]>
AuthorDate: Fri May 8 09:34:09 2026 +0800

    [opt](statistic) use explicit datetimev2 as update_time column's type 
(#63014)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #xxx
    
    Problem Summary:
    
    ### Release note
    
    None
---
 .../src/main/java/org/apache/doris/catalog/InternalSchema.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchema.java 
b/fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchema.java
index a7ae010f863..1d21eb97a0d 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchema.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchema.java
@@ -70,7 +70,7 @@ public class InternalSchema {
                 new ColumnDef("data_size_in_bytes", 
ScalarType.createType(PrimitiveType.BIGINT),
                     ColumnNullableType.NULLABLE));
         TABLE_STATS_SCHEMA.add(
-                new ColumnDef("update_time", 
ScalarType.createType(PrimitiveType.DATETIME),
+                new ColumnDef("update_time", ScalarType.DATETIMEV2,
                     ColumnNullableType.NOT_NULLABLE));
         TABLE_STATS_SCHEMA.add(
                 new ColumnDef("hot_value", 
ScalarType.createType(PrimitiveType.STRING), ColumnNullableType.NULLABLE));
@@ -107,7 +107,7 @@ public class InternalSchema {
                 new ColumnDef("data_size_in_bytes", 
ScalarType.createType(PrimitiveType.BIGINT),
                     ColumnNullableType.NULLABLE));
         PARTITION_STATS_SCHEMA.add(
-                new ColumnDef("update_time", 
ScalarType.createType(PrimitiveType.DATETIME),
+                new ColumnDef("update_time", ScalarType.DATETIMEV2,
                     ColumnNullableType.NOT_NULLABLE));
 
         // histogram_statistics table
@@ -131,7 +131,7 @@ public class InternalSchema {
         HISTO_STATS_SCHEMA.add(new ColumnDef("buckets", 
ScalarType.createVarchar(ScalarType.MAX_VARCHAR_LENGTH),
                 ColumnNullableType.NOT_NULLABLE));
         HISTO_STATS_SCHEMA.add(
-                new ColumnDef("update_time", 
ScalarType.createType(PrimitiveType.DATETIME),
+                new ColumnDef("update_time", ScalarType.DATETIMEV2,
                     ColumnNullableType.NOT_NULLABLE));
 
         // audit table must all nullable because maybe remove some columns in 
feature


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to