cjj2010 opened a new issue, #35903: URL: https://github.com/apache/doris/issues/35903
### 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? Using the unique model, when schemachange is converted from date to date time, the field result format should be yyyy MM dd THH: mm, and the correct format should be yyyy MM dd HH: mm: ss ### What You Expected? the correct format should be yyyy MM dd HH: mm: ss ### How to Reproduce? one step ``` CREATE TABLE IF NOT EXISTS test_unique_model_schema_value_change1 ( `user_id` LARGEINT NOT NULL COMMENT 用户id, `username` VARCHAR(50) NOT NULL COMMENT 用户昵称, `score` FLOAT COMMENT 分数, `city` VARCHAR(20) COMMENT 用户所在城市, `age` SMALLINT COMMENT 用户年龄, `sex` TINYINT COMMENT 用户性别, `phone` LARGEINT COMMENT 用户电话, `address` VARCHAR(500) COMMENT 用户地址, `register_time` DATE COMMENT 用户注册时间, `m` Map<STRING, INT> NULL COMMENT , `j` JSON NULL COMMENT ) UNIQUE KEY(`user_id`, `username`) DISTRIBUTED BY HASH(`user_id`) BUCKETS 1 PROPERTIES ( replication_allocation = tag.location.default: 1, enable_unique_key_merge_on_write = true ); ``` ``` insert into test_unique_model_schema_value_change1 values(123456789, 'Alice', 'Beijing', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01') ``` two step ``` alter table test_unique_model_schema_value_change1 MODIFY column register_time DATETIME ``` result ``` -- This file is automatically generated. You should know what you did if you want to edit this -- ! -- 123456789 Alice 1.8 Beijing 25 0 13812345678 No. 123 Street, Beijing 2022-01-01T00:00 {"a":100, "b":200} ["abc","def"] ``` ### Anything Else? _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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org