-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Search before asking
- I had searched in the issues 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;
What You Expected?
compute_time should be current time
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels
