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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   ```
   #表结构
    CREATE TABLE `ods_t_test` (
    `id` bigint(30) NOT NULL,
    `order_code` varchar(30) DEFAULT NULL COMMENT '',
    `create_time` datetimev2(3) DEFAULT CURRENT_TIMESTAMP
   ) ENGINE=OLAP
   UNIQUE KEY(`id`, `order_code`)
   DISTRIBUTED BY HASH(`order_code`) BUCKETS 1
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   
   
   ##数据格式
   {"id":"23","order_code":"23123"}
   
   
   ##导入
   导入
   curl --location-trusted -u root -T test.json -H "label:1245" -H 
"format:json" http://10.16.10.14:8234/api/test/ods_t_test/_stream_load
   ```
   
   描述 : create_time没有设置正确的default值,正常应该是当前时间 ,insert 是没有问题的.
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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