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

[GitHub] [doris] hahafly opened a new issue, #18303: [Bug] SQL function: datediff, return error

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

   ### 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
   
   v1.1.1
   
   ### What's Wrong?
   
   when run query below:
   select datediff('2023-03-27', '2023-03-26');
   return 0
   
   ### What You Expected?
   
   return 1, '2023-03-27' - '2023-03-26' supposed to be 1
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   select datediff('2023-12-31', '2023-01-01');
   return 364, correct, so I don't now what's wrong with select datediff('2023-03-27', '2023-03-26');
   
   ### 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] stalary closed issue #18303: [Bug] SQL function: datediff, return error

Posted by "stalary (via GitHub)" <gi...@apache.org>.
stalary closed issue #18303: [Bug] SQL function: datediff, return error
URL: https://github.com/apache/doris/issues/18303


-- 
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] liujiwen-up commented on issue #18303: [Bug] SQL function: datediff, return error

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

   upgrade can solve


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