You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/12/13 15:11:48 UTC

[GitHub] [doris] Gabriel39 opened a new issue, #15053: [Bug] wrong datetimev2 result after insertion

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

   ### 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 if not exists test_datetime (
     `id` int(4) NULL,
     `c_datetime` datetime NULL,
     `c_datetime_v2` datetimev2 NULL
   ) ENGINE=OLAP
   UNIQUE KEY(`id`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`id`) BUCKETS 1
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   ); 
   
   insert into test_datetime select 2 as id, now(), now();
   
   ![image](https://user-images.githubusercontent.com/37700562/207370552-e6affb6c-efde-4b37-ba9e-bd750d09876e.png)
   
   
   ### What You Expected?
   
   correct result
   
   ### 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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] Gabriel39 closed issue #15053: [Bug] wrong datetimev2 result after insertion

Posted by GitBox <gi...@apache.org>.
Gabriel39 closed issue #15053: [Bug] wrong datetimev2 result after insertion
URL: https://github.com/apache/doris/issues/15053


-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org