felixwluo opened a new pull request, #34186: URL: https://github.com/apache/doris/pull/34186
## Proposed changes Issue Number: close #34056 <!--Describe your changes.--> `When using short circurt for point-checking, if a field in the table constructor clause has a default value and a NULL value is written later, the query returns the default value instead of the NULL value 1. Recurrence process CREATE TABLE IF NOT EXISTS test.test_001 ( id int NOT NULL COMMENT "id", test_time DATETIMEV2(3) DEFAULT "1970-01-01 00:00:00.111" COMMENT "access time" ) UNIQUE KEY(id) DISTRIBUTED BY HASH(id) BUCKETS 1 PROPERTIES ( "replication_num" = "1", "enable_unique_key_merge_on_write" = "true", "light_schema_change" = "true", "store_row_column" = "true" ); insert into test.test_001 values (1, NULL); set experimental_enable_nereids_planner = false; select test_time from test.test_001 where id= 1; The query result is 1970-01-01 00:00:00.111 2、After restoration Query returns NULL after repair ` ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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 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