Gabriel39 opened a new issue, #16362:
URL: https://github.com/apache/doris/issues/16362

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   CREATE TABLE `ads_huad_app_order_hi` (
     `house_id` bigint(20) NULL DEFAULT "-1" COMMENT '仓库id',
     `pick_order_big_num` decimal(27, 9) SUM NULL COMMENT '拣货订单件数(大单位)'
   ) ENGINE=OLAP
   AGGREGATE KEY(`house_id`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`house_id`) BUCKETS 10
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2",
   "disable_auto_compaction" = "false"
   ); 
   
   insert into ads_huad_app_order_hi values(1,1.1);
   
   ALTER TABLE ads_huad_app_order_hi ADD COLUMN compute_time datetime replace 
NULL DEFAULT CURRENT_TIMESTAMP COMMENT '计算时间' AFTER pick_order_big_num;
   
   
![image](https://user-images.githubusercontent.com/37700562/216256584-fa6cf93f-e9d6-4922-8eb1-dac95584a957.png)
   
   
   ### What You Expected?
   
   `compute_time` should be current time
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to