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 2023/01/13 06:23:29 UTC

[GitHub] [doris] gong opened a new issue, #15897: [Bug] Data is null after datetimev2 field insert 2022-01-01T00:00:01

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

   ### 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
   
   1.2.1
   
   ### What's Wrong?
   
   my create table
   CREATE TABLE `test_datetime_type_2` (
     `user_id` bigint(20) NULL COMMENT "",
     `date` date NULL COMMENT "",
     `group_id` bigint(20) NULL COMMENT "",
     `keyword` varchar(128) NULL COMMENT "",
     `money` decimal(6, 2) NULL COMMENT "",
      `modifytime` datetime NULL,
     `modifytime2` datetimev2 NULL
   )DISTRIBUTED BY HASH(`user_id`) BUCKETS 32
   
   INSERT INTO `test_datetime_type_2` (`user_id`, `date`, `group_id`, `keyword`, `money`, `modifytime`, `modifytime2`) VALUES ('4', '2020-01-14', '22', 'qw22', 1, '2022-01-01T00:00:01', '2022-01-01T00:00:01');
   
   
   
   <img width="1041" alt="image" src="https://user-images.githubusercontent.com/9883232/212251209-b63805a2-3fbc-46f4-bf50-427fc7a48032.png">
   `modifytime` is normal and `modifytime2` is null
   
   ### What You Expected?
   
   `modifytime2` is normal
   
   ### 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
   
   - [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 #15897: [Bug] Data is null after datetimev2 field insert 2022-01-01T00:00:01

Posted by GitBox <gi...@apache.org>.
Gabriel39 closed issue #15897: [Bug] Data is null after datetimev2 field insert 2022-01-01T00:00:01 
URL: https://github.com/apache/doris/issues/15897


-- 
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