You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Gabriel39 (via GitHub)" <gi...@apache.org> on 2023/06/16 02:07:07 UTC

[GitHub] [doris] Gabriel39 opened a new issue, #20880: [Enhancement] Support timezone for datetime load

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

   ### 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
   
   导入 2 条数据,它们表示的时间戳相同、只是时区不同:
   {"timestamp":"2023-06-15T10:00:00.000Z"}
   {"timestamp":"2023-06-15T18:00:00.000+08:00"}
   
   查询发现 2 条数据的时间是不同的,标准时区的时间戳字符串解析可能有些问题:
   mysql> select timestamp, unix_timestamp(timestamp)
   -> from tenant_13294971825907758048.logs_default;
   +----------------------------+-----------------------------+
   | timestamp | unix_timestamp(`timestamp`) |
   +----------------------------+-----------------------------+
   | 2023-06-15 10:00:00.000000 | 1686794400 |
   | 2023-06-15 18:00:00.000000 | 1686823200 |
   +----------------------------+-----------------------------+
   
   ### Solution
   
   _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] zgt2001 commented on issue #20880: [Enhancement] Support timezone for datetime load

Posted by "zgt2001 (via GitHub)" <gi...@apache.org>.
zgt2001 commented on issue #20880:
URL: https://github.com/apache/doris/issues/20880#issuecomment-1607572093

   I‘ll take it.


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


[GitHub] [doris] zclllyybb commented on issue #20880: [Enhancement] Support timezone for datetime load

Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on issue #20880:
URL: https://github.com/apache/doris/issues/20880#issuecomment-1606000056

   I'll take it.


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


[GitHub] [doris] zzzzzzzs commented on issue #20880: [Enhancement] Support timezone for datetime load

Posted by "zzzzzzzs (via GitHub)" <gi...@apache.org>.
zzzzzzzs commented on issue #20880:
URL: https://github.com/apache/doris/issues/20880#issuecomment-1598165454

   I will do it.


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